Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

londonweb

macrumors 6502
Original poster
Sep 14, 2005
260
0
london
I've got a problem with a client's site whereby each time I update it for him, his browser won't download the new version and he just sees the old one. I'm not sure what browser he's using, but I've tried it Explorer on the PC and Safari and Firefox on the mac. Netscape on the PC does not download the new one until I manually empty the cache.

I have put the following lines of code in to try to prevent this, to no avail:

<meta http-equiv="Expires" content="Sat, 27 Jan 2005 18:00:00 GMT" />
<meta http-equiv="Pragma" content="no-cache"/>
<meta http-equiv="Cache-Control" content="no-cache"/>

I have just read something that implies that the problem could be to do with the server, and that it is possible to enter the cache control instructions directly into the HTTP headers on the server, but I've no idea how to do this.

This would make sense as my client set up his own hosting, and the other sites that I manage don't have the same problem.

site in question: www.david-goldman.co.uk

Any ideas?
 
Try This

No cache code
................................................................................
<META HTTP-EQUIV="PRAGMA" CONTENT="NO-CACHE">

Refresh page code (5 is seconds)

<META HTTP-EQUIV="REFRESH" CONTENT="5">
................................................................................
Paste just the meta lines into your head
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.