I'm not using any cache plugins on my wordpress and I'm not using any caching system on my server but for some reasons , " Google Chrome " and " Firefox " keep caching my website and whenever I make a change , I need to use ctrl+f5 to see new posts . Is there a way to clear cache after there is a new post or something is changed ?


1 Answer 1


There are kind of two levels to browsing caching:

  1. Browser is provided with explicit information when page expires via response headers or 304 Not Modified response.
  2. Browser kind of assumes that page was loaded very recently and is still good for a while.

Respectively there are two possible things going wrong:

  1. Your server is replying with invalid caching information. That might happen on different stages of the process (PHP, web server, reverse proxy). You can use browser's own tools or something like https://redbot.org/ to check for it.
  2. Browser is just of mind to cache aggressively. This seems to rarely be an issue outside of short time (minutes). Unfortunately it won't be trivial to prevent, since WP has poor architecture for working with caching headers.

Overall you need to troubleshoot current headers to determine how it goes wrong.

  • Can Gtmetrix leverage browser caching cause this ? I only use them for images but wordpress posts gets cached too Oct 31, 2015 at 17:33
  • I don't know what that is. :)
    – Rarst
    Oct 31, 2015 at 19:03

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.