Drop Down MenusCSS Drop Down MenuPure CSS Dropdown Menu

Tuesday, September 11, 2012

Stop caching using PHP

A cache is a temporary storage area. For example, the files you automatically request by looking at a Web page are stored on your hard disk in a cache subdirectory under the directory for your browser. When you return to a page you've recently looked at, the browser can get those files from the cache rather than the original server, saving you time and saving the network the burden of additional traffic. Sometimes we don’t need caching at any particular page. We can stop caching using PHP.




    header("Cache-Control: no-cache, must-revalidate");

No comments:

Post a Comment