Hi, i am new to Cloudflare and i have a problem.
Yesterday I changed a few settings in the lightspeed cache and I purged everything in Cloudflare Caching. And since then Cloudflare doesn’t seem to have saved my website files on their server. I have removed all settings on that plugin, but the result is the same.
My response header:
cache-control:no store, no-cache, must revalidate
I manually edited the cache-control in the htacess file, but cf-status still Miss.
My response header now.
Sat, 21 Sep 2019 11:30:19 GMT
Mon, 21 Oct 2019 21:30:19 GMT
I don’t have a lot of programming knowledge so seems like I did something wrong.
Everything worked very well until yesterday.
What should i do now?
Thank in advance
Possibly that. But do you always get a miss or only on the first attempt? The latter would be by design.
Also, without actual links it is close to impossible to give proper advice.
I always get a miss.
You can check: https://freevideoeffect.com/
After the first load I immediatey get hits on Cloudflare.
Can you give me the screenshot?
I check it on GTMETRIX and Pingdom, but the result is the same
$ curl -I https://freevideoeffect.com/wp-content/cache/autoptimize/css/autoptimize_dfce9760e17af2ab605ccc065b8e8ed3.css
HTTP/1.1 200 OK
Date: Sat, 21 Sep 2019 12:00:17 GMT
Cache-Control: public, max-age=30669813
Expires: Thu, 10 Sep 2020 11:23:50 GMT
Last-Modified: Sat, 21 Sep 2019 01:04:49 GMT
Expect-CT: max-age=604800, report-uri="https://report-uri.cloudflare.com/cdn-cgi/beacon/expect-ct"
The important part is what your connection says. What does your browser show?
so What about
freevideoeffect.com response header ?
Why CF-Cache-Status: MISS
That was most likely the first attempt. And it does not answer the question about your browser.
I set a page rule
Cache Level: Cache Everything.
Cf-cache-status: MISS after changing settings in the litespeed cache. It does refer to the most likely reason why your main page does not get cached.
I am trying to delete Pragma, can you guide me to delete it?
You need to do that on your server. Somewhere in the configuration.
I deleted Pragma in response header but the result is still the same.
Did you find anything else?
Your server appears to send an
Expires header, dating to 1981.
In htacess file:
ExpiresByType image/jpg “access 1 year”
ExpiresByType image/jpeg “access 1 year”
ExpiresByType image/gif “access 1 year”
ExpiresByType image/png “access 1 year”
ExpiresByType text/css “access 1 month”
ExpiresByType text/html “access 1 month”
ExpiresByType application/pdf “access 1 month”
ExpiresByType text/css “access plus 1 year”
ExpiresByType application/x-shockwave-flash “access 1 month”
ExpiresByType image/x-icon “access 1 year”
ExpiresDefault “access 1 month”
Did I do something wrong? I didn’t find the expires header as you said.
Must be somewhere else then. We are a bit beyond the forum’s scope now however. I’d take this to Reddit or StackExchange.
Thank you so much for taking the time to help me.
I appreciate it.