André Amorim

Crafting Web Experiences

//

caching

Go back to /notes?

  • CloudFlare Caching Rules for WordPress

    Rule #1: Cache Then… Cache eligibility: Eligible for cacheEdge TTL: Use cache-control header if present, use default Cloudflare caching behavior if notBrowser TTL: Override origin and use this TTL – 1 daySort query string: YesServe stale content while revalidating: YesUse strong ETag headers: Yes Rule #2: Admin No Cache Then… Cache eligibility: Bypass cache

  • Improving performance of a WordPress site

    I can categorize the things that can be done to improve performance of a WordPress site as follows. The prioritization can be changed according to the initial testing results. Also, every single item might not be applicable for every WordPress site. Testing and planning phase is very important to decide which tasks need to be…