Understanding expected cache length
-
I’ve installed this plugin on my site and I think for the most part, it’s working as expected.
But what I do notice is that I’m getting a lot more “misses” and “expired” than I thought I would. I assumed that the pages would be cached almost indefinitely, but I can see they expire fairly regularly.
While I’ve been typing this, I clicked around the site for a bit just using the left hand menu, and I got a miss. The full result is as follows :
alt-svc: h3=":443"; ma=86400, h3-29=":443"; ma=86400 cache-control: s-maxage=31536000, max-age=60 cache-provider: CLOUDWAYS-CACHE-DC cf-cache-status: MISS cf-ray: 7329f5558e8ba832-SYD content-encoding: br content-type: text/html; charset=UTF-8 date: Sat, 30 Jul 2022 00:25:39 GMT server: cloudflare vary: Accept-Encoding x-cache: HIT x-wp-cf-super-cache: cache x-wp-cf-super-cache-active: 1 x-wp-cf-super-cache-cache-control: s-maxage=31536000, max-age=60 x-wp-cf-super-cache-cookies-bypass: swfpc-feature-not-enabledNotice how the XCache says hit but Cloudflare says miss. If I refresh, obviously next load I got a hit.
This was maybe 5 minutes after the last refresh of this page I went from Hit to Miss to Hit. Is this expected? In a similar vein, I can receive EXPIRED cloudflare headers when x-cache is a hit also.
Note that I am using Cloudways as a hosting provider, and I am using their “Breeze” plugin for caching (Similar to WP Super Cache etc), which is somewhat required now due to all the misses I seem to be getting.
It doesn’t seem that uniform. For instance on the homepage, I am currently seeing
age: 1621Which would indicate that this is almost 30 minutes old in the cache. So I don’t think it’s necessarily something to do with headers as that would be across the entire site.
The page I need help with: [log in to see the link]
The topic ‘Understanding expected cache length’ is closed to new replies.