WP Super Cache is the fastest caching and the most used plugin for WordPress to speed up the loading of posts, images and other contents. It compresses the page contents, and pre-loads the pages for faster loading.
You have installed the WP Super Cache plugin but do to some unknown issue the test cache might have failed with the difference in timestamp. This error appears like below:
Cache Tester
Test your cached website by clicking the test button below.
Fetching http://www.cgstudy.in/ to prime cache: OK
Fetching first copy of http://www.cgstudy.in/: OK (1.html)
Fetching second copy of http://www.cgstudy.in/: OK (2.html)
The pages do not match! Timestamps differ or were not found!
Things you can do:
Load your homepage in a logged out browser, check the timestamp at the end of the html source. Load the page again and compare the timestamp. Caching is working if the timestamps match.
Enable logging on the Debug page here. That should help you track down the problem.
You should check Page 1 and Page 2 above for errors. Your local server configuration may not allow your website to access itself.
The above error may be due to the CDN side which you may be using. We have got the same error when we used CloudFlare CDN with WP Super Cache.
How to resolve the cache timestamp differs error in WP Super Cache plugin?
Here is the simple solution to fix the cache timestamp
- Login to your website’s ClouldFlare CDN account and click on Speed
- Now you can see the Auto Minify options which are checked by default:
- Auto Minify reduces the file size of the source code of your website by minimizing the JavaScript, CSS and HTML code.
- Un-Check all the three Auto Minify options as they are conflicting with the WP Super Cache plugin to generate the test cache file.
- Now go to Caching option in ClouldFlare and purge the page to make the changes effect immediately. It may take upto 30 seconds for the changes to come take effect.
- Now go to WP Super Cache plugin page and test the cache. Your issue should get fixed. Else, refresh the plugin page and try again deleting all the old cache files and expired caches which may be present.
If you are able to get the cache files generated then I am very happy that this post was really useful for you.
Leave your comment below if you have any queries.
Awesome, it will working fine for me
Thanks! Solved my problem.
It worked for me by just turning off Auto Minify HTML only.
yes, me to, simply uncheck html option in cloudflare and retest. green,green green 🙂
thanks man.. for this comment.
you’re awesome..! this article is what i’m looking for…
Hello, I tried everything and no solution works for me, I still have this error
The pages do not match! Timestamps differ or were not found!
But, when debugging and checking log file, it seems that the correct cached file is loaded.
Can you find a possible reason for this ?
Thanks.
Are you using any CDN or another cache plugin?
Yes I am using Cloudflare but even when I disable it totally, the test still fails.
thanks bro problem solved it worked…
Hey Chief,
Thanks a million. It worked just as you said it would.
Muito obrigado pelo post. Funcionou!. Um abraço!!
doest work for me, is keep says The pages do not match! Timestamps differ or were not found!
Hi,
I can see that you are using Cloudflare CDN for your website.
To test the above, make sure you turned off the Auto Minify HTML while testing and can turn on once done.
Thanks