Myth: a CDN means you don't need page caching
This week in caching, the edge overconfidence file:
— The pitch: put Cloudflare in front and origin caching becomes redundant.
— The catch: CDNs cache by default only for static extensions; your HTML usually passes through unless you explicitly set Cache-Control and a page rule. A logged-in cookie or a query string can silently make everything a MISS to origin.
— Worth your time: check your edge cache HIT ratio on HTML specifically, not on the aggregate that fonts and images inflate.
Bookmark: the edge caches what you tell it to cache. An uncached origin behind a CDN is still an uncached origin for every cold edge node.
Cache Catch
@CacheCatch
Myth: a CDN means you don't need page caching
Этот пост опубликован в Telegram-канале Cache Catch. Подписаться можно по ссылке: @CacheCatch.