How to stop PCs from using cached pages?
Community Forums/General Help/How to stop PCs from using cached pages?
| ||
Hi, Is anyone aware of a little slice of code that will stop client PCs using cached versions of web pages? The reason I ask is that I maintain/update a website for s small club and frustratingly cached pages seem to persist until I click the refresh button (on PCs I have not uploaded the update with....) |
| ||
Press CTRL+F5 to force a refresh, or turn off cacheing in your browser (don't recommend that last bit). |
| ||
Thanks GfK, I was hoping that you could actually code something in HTML that would force a page refresh on accessing it. |
| ||
http://forums.whirlpool.net.au/forum-replies-archive.cfm/397544.html HTH |
| ||
Try adding this to the head section of your HTML: <meta http-equiv="Pragma" content="no-cache"> <meta http-equiv="no-cache"> <meta http-equiv="Expires" content="-1"> <meta http-equiv="Cache-Control" content="no-cache"> |
| ||
Thanks for the feedback folks. |
| ||
thanks milky joe, have included the code now {;-) |