Cloudflare not caching Autoptimize (Analytics showing more uncached bandwidth/requests vs cached)

I set up Autoptimize on my site and seems like the CSS/JS files generated by Autoptimize aren’t cached by Cloudflare.

When I check the analytics, I have more uncached request/bandwidth vs cached.

I’ve set up page rules to cache everything.

What could have gone wrong?


Your origin cache control is set to 3 seconds, so content isn’t going to be served from cache very long.

curl - Ik somethingsomething/wp-content/cache/autoptimize/css/autoptimize_90be7dab11e70cfb1993e8a64d778aeb.css
HTTP/2 200
date: Wed, 29 Aug 2018 11:02:46 GMT
server: Apache
x-frame-options: SAMEORIGIN
last-modified: Wed, 29 Aug 2018 09:30:01 GMT
etag: "c647b-5748f9a4a6018"
accept-ranges: bytes
content-length: 812155
vary: Accept-Encoding
access-control-allow-origin: *
cache-control: max-age=3, must-revalidate
content-type: text/css
1 Like

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.