"CF-Cache-Status:EXPIRED" and general settings question

pagerules
caching
wordpress

#1

I’m getting a “CF-Cache-Status:EXPIRED” in the header, and I’m wondering why. Other stuff in the header seems to indicate the site is getting cached, though. Can someone take a look at this and tell me if I need to tweak my settings? Thanks!

Fri, 06 Jul 2018 18:49:20 GMT

Content-Type:
text/html; charset=UTF-8
Connection:
keep-alive
Set-Cookie:
__cfduid=d44a94abfaca308ad002c925795f7d6791530902959; expires=Sat, 06-Jul-19 18:49:19 GMT; path=/; domain=.humortimes.com; HttpOnly; Secure
Link:
; rel=shortlink
Content-Security-Policy-Report-Only:
img-src https://b.wallyworld.zzzz; upgrade-insecure-requests
X-Powered-By:
W3 Total Cache/0.9.7
X-Content-Type-Options:
nosniff
CF-Cache-Status:
EXPIRED
Expires:
Sat, 07 Jul 2018 18:49:20 GMT
Cache-Control:
public, max-age=86400
Expect-CT:
max-age=604800, report-uri=
Server:
cloudflare
CF-RAY:
4364402b99549680-SJC


#2

Hi there,

EXPIRED means the item was in cache but it was stale:

This likely means your edge cache TTL has been set very low either by a page rule (if you have one configured for the matching URL) or the origin cache control / expries headers are enforcing a low TTL. To check the origin headers, access your origin server directly for the same URL using a tool like cURL:

Once you do that you should be able to see what caching instruction your origin is giving to Cloudflare. If the TTL is too low you can modify it on the server to return longer TTLs, or you can use page rules and an Edge Cache TTL to override that.