Webmasters Stack Exchange is a question and answer site for pro webmasters. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I have been testing a web site but every time I complain to the web developer that I am not able to see on the website which you have recently corrected,he told me that I am seeing that content from the browser cache. I should press F5 and get the recently corrected contents of the webpage.

Can I fix something (1) at a web page source code level or (2) at browser level so the browser gets the recent page i.e. from server only not from its cache.

share|improve this question
up vote 3 down vote accepted

If you put

<meta http-equiv="Cache-Control" content="no-cache, no-store, must-revalidate" />
<meta http-equiv="Pragma" content="no-cache" />
<meta http-equiv="Expires" content="0" />

between your <head> tags, this should force the browser to not cache anything in most browsers.

share|improve this answer

The easiest thing for you is to bypass your cache.

This is usually done by pressing Ctrl + F5.

There are some variances by browser and you can check on this and see how to completely clear the cache at this Wikipedia page on 'Bypass your cache'.

If you opt to completely clear your cache after changes are made to the site this will probably work best for you as successive page loads will use the newly cached page (featuring the most recent changes to the site). That way you see the changes and keep getting the performance benefits of browser cache.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

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