PDA

View Full Version : How to disable browser Caching from website code



venugopal
03-22-2010, 11:15 PM
Hey..

can anyone help , is it possible to disable caching of websites from website code side?
cos, each time when my website i loaded, old content is generated and new ones are not refreshed since data is pulled from browser cache..

regards
Venu

joshu
03-22-2010, 11:16 PM
just add the below code in the meta..itll be done


<meta http-equiv="expires" value="Thu, 19 May 2001 12:00:00 GMT" />
<meta http-equiv="pragma" content="no-cache" />

cheers
Josh

eric
03-23-2010, 10:37 PM
intersting, that was a new information for me..

cheers
Eric

bobmore
03-25-2010, 10:18 PM
well said josh !