Web Hosting Talk







View Full Version : Web Site and Browser Cache


dario
01-04-2002, 08:21 AM
I have some clients, not all that can not see new content posted to their web sites unless they go in and completely clear their browser cache. Simply hitting refresh on their web browser does not work.

I do not have proxy on in apache and I have Expire set to the following:

ExpiresActive On
ExpiresByType image/gif M60
ExpiresByType text/html M60

Are their any other directives I can put in apache? I understand ISP's are caching more and more stuff. I just have a bunch of clients that say they do not have to do this with other hosts, so I am at a loss as to what else should be done.

Any detailed answer you can give woulld be much appreicated..

ckpeter
01-04-2002, 01:15 PM
Welcome to the board!

Normally, unless you are making an offer or request, you should not post in the ad forums.

You topic would be better discussed in the technical forum.

Don't worry, a moderator will move this soon.

Peter

dario
01-04-2002, 01:18 PM
I noticed I was in the wrong forum after I hit submit...

Thanks. :-)

Newbie
01-04-2002, 10:06 PM
Have they tried to add a meta tag?

<meta http-equiv="Expires" content="Mon, 4 Jun 2001 21:29:02 GMT">

priyadi
01-05-2002, 01:48 AM
Do you want to disable caching? Try this in .htaccess file:


Header add Pragma no-cache

jakis
03-29-2002, 12:14 AM
pragma will not work with http/1.1 Did you tried adding ?

Cache-control: must-revalidate (will force isp/browser to obey your rule)

or

Cache-control: private (will leave cache to browser only )

read on http://www.mnot.net/cache_docs/

gnorthey00
03-29-2002, 12:27 AM
THere are settings in Netscape and IE to have the browser check for new page every time the page is accessed. However, if you are behind a proxy cache, this probably won't do any good.

jakis
03-29-2002, 12:49 AM
IE6 is better (better doesn't mean good) if you press Refresh the second time, it will pass the proxy to pull new document from the real webserver no matter it's updated or not. However , most customers are archaic, so it 's practically impossible to tell IE5 user to press Ctrl+F5 or Netscape user to press Shift+reload or else install IE6 or change their browser setting. or you have to answer more question (yet not many people read on your faq)