html pragma no cache expires





Sometimes you want to avoid caching of your website, maybe you are developing it and you want to see the fresh copy each time you hit reload.ETag Header set Cache-Control "max-age0, no-cache, no-store, must-revalidate" Header set Pragma "no-cache" Header set Expires "Wed, 08 Jan 1975 05 " GMT" header("Expires: ts") header("Pragma: cache") header("Cache-Control: max-agesecondsto cache") The Cache-Control header requires the number of seconds to cache the file so in this example its 3600 because 60 seconds x 60 minutes 3600. What i would like to know is the defferences between these tags: . without much thinking of what exactly they are for, except that they are used toNamely, he is sure that it will be much better when we force caching in HTML head. I have an access only to front end resources. Pragma content set to no-cache tells the browser not to cache the page This may or may not work in IE -->.