CF-Cache-Status - Expired


#1

I just started caching with Cloudflare, but if I check next day, most of my images are being expired.

DateTue, 29 May 2018 08:42:54 GMT
CF-Cache-StatusEXPIRED
Last-ModifiedWed, 01 Feb 2017 23:52:23 GMT
Expect-CTmax-age=604800, report-uri=“https://report-uri.cloudflare.com/cdn-cgi/beacon/expect-ct
Content-Typeimage/gif
Cache-Controlpublic, max-age=2592000
CF-RAY4227ab996cf47636-ARN
ExpiresThu, 28 Jun 2018 08:42:54 GMT

If I:

curl -I https://example.com/file.jpg

First time it will result in a MISS, next time it will be a HIT. Same thing with metrix tests. First time it will MISS but HIT the next test.

BTW I have a cron job that runs every hour which hits the HOME PAGE, so the site is being accessed once an hour.


#2

Expired means we had the item in cache, but the specified life of the item had been exceeded so we retrieved it from cache. I’m not sure if there is a question you’re asking:


#3

The specific time is at least 1 month, check .htacces file. Yet I see that it changes to EXPIRED after a day.

MISS comes up as well after a while. I have to do the test again to get a HIT and for the cache to HIT. Then after a while it shows MISS again, and if I test further in time, it will probably again get back to EXPIRED.

I’m not using any Page Rules and I’m not caching HTML.

.htaccess: https://www.dropbox.com/s/2q9l8rzaludzvkj/.htaccess?dl=0


#4

This topic was automatically closed after 14 days. New replies are no longer allowed.