Want to stop your browser from caching the web pages you visit? Caching is done to avoid loading a web page again and again if it is going to contain the same information each time you visit it. It not only speeds up your browsing, caching also saves the website owner precious bandwidth. Even WordPress these days, with the help of some plug-ins, allows you to save the blog posts in the browser’s cache. Google also saves many search results in cache for a quicker searching.
But it can be a problem if you are a web designer or a web developer because after every change you need to refresh your browser so that you can view the changes. If you keep on seeing the cached pages you will never be able to change the design of the web pages that have been cached by your browser. Another problem faced by designers is that even if the actual web page is not cached, the stylesheet is saved in the cache.
There are different ways you can stop or prevent your browser from caching the web pages. The simplest is including meta information:
<META Http-Equiv="Cache-Control" Content="no-cache">
<META Http-Equiv="Pragma" Content="no-cache">
<META Http-Equiv="Expires" Content="0">
This will take care of most of the browsers.