Caching not working


#1

Hello,

I enabled Polish Image Optimization and Caching everything but it doesn’t seem to work on my site.

I followed instructions from this article

and checked if CloudFlare was actually caching :

I still have a x-cache: MISS status in my header

Doesn’t seem to work and I don’t see how to fix this.
Can anyone help please ?

file example : https://benoitb.work/static/img/site-virgile-index.jpg


#2

x-cache isn’t a Cloudflare header. Look at cf-cache-status. I’m getting a HIT with that one.


#3

Indeed ! I was not looking at the right thing
Seems to work then…

On some images the header response is cf-cache-status: REVALIDATED
Don’t know what that means…

Thanks !


#4

Revalidated means it was cached, but expired, so Cloudflare checked to see if it had changed or not.