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
Entrepreneur
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
Connector
Join Date: Jul 2002
Location: Luton, Bedfordshire
Posts: 2,726
Try the cache or expires directive which can be set in HTML.

<META HTTP-EQUIV="CACHE-CONTROL" CONTENT="NO-CACHE">

Or

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

Hi.

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.

Nathan
Reply With Quote
Reply

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 04:45 PM.


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