have checked other issues related to cache, they mentioned about page rules and server’s cache-control policy. My server return cache-control: public, max-age=31536000, immutable, so I thought there is no problem with that?
I’ve just added the first page rules today, seems the cache is still not working.
How to make the cache works again?
It is a bit difficult to debug right now as your server is barely responding and requests show a timeout.
Anyhow, one request went through and it seems as if you sent a cookie. Cookies generally bypass the cache. Remove the user_sid cookie and check if it caches in that case.
@sandro thanks for your response, is there any complete documentation on the cookies will bypass the cache?
I used that cookie to manage loggedin users, and at the beginning I’m using CF, it works fine both the cache and that cookie.
Somehow after 2nd January, cache is not working eventhough no significant changes on cookies related…
Hi @sandro, can you please help to check again? I’ve redeployed to my server, but now the header change to become cf-cache-status: MISS. Is there anything else?
MISS is simply when the resource is not in the cache, the subsequent request typically should be a HIT again. I just checked and the second request was marked as HIT.