This site uses cookies. By continuing to browse the site you are agreeing to our use of cookies. Find out more hereX

Home > Discussion Forum

Discussion Forum

alexonline alexonline is offline
Join Date: Apr 2006
Posts: 27
Website caching

Could anyone please tell me the best way to stop HTML pages caching? I wrote a website in PHP before and it didn't seem to have the same problem. It's so when people visit the site again and there's new articles they can read the new ones, rather than end up with the out of date page stored in internet explorer.
Reply With Quote
Martin Martin is offline
Join Date: Jul 2002
Location: Luton, Bedfordshire
Posts: 2,719
Try the cache or expires directive which can be set in HTML.



<META HTTP-EQUIV="EXPIRES" CONTENT="Mon, 12 Jun 2006 10:08:01 GMT">
Reply With Quote
nathanp nathanp is offline
Join Date: May 2006
Posts: 202


I'm presuming your querying how to prevent search engines caching your website??

If I'm correct in thinking the way I have then you need to put this tag <META NAME="ROBOTS" CONTENT="NOARCHIVE"> into the <HEAD> section of all the pages you don't want search engines to cache.

If I got it wrong or you want any more help you know where I am.

Reply With Quote

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

All times are GMT +1. The time now is 02:24 AM.

Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2016, Jelsoft Enterprises Ltd. Copyright Shell LiveWIRE 2005-2009