Web Hosting Talk







View Full Version : updated website is not displayed


nachopo
09-13-2002, 10:49 PM
Hi!
I have an stange problem.
My customer update their website and he cant see this updated pages. They see old ones, but if you see this pages from a computer outside their offices, its displays well.
They are behind a proxy or firewall.

What could be ?

x222943
09-13-2002, 11:14 PM
have them refresh the page, and clear thier temp internet files... not sure if you ment to say they are behind a proxy/firewall, or they are not, but if they are, the page could be caught up in the proxy cache...

hostchamp
09-14-2002, 01:28 AM
Ask them to clear their browser cache, also clear proxy cache if any, and reload, thats it.

eddy2099
09-14-2002, 08:23 AM
Could be the proxy. The last time I had that problem not being able to see the changes made with my proxy. But for some weird reason, it happened with only one web host.

Lagniappe-labgeek
09-14-2002, 08:28 AM
To help prevent it in the future, use a expires metatag or even better if php or other scripting is used to generate the site a expires header.


<META HTTP-EQUIV="expires" CONTENT="Wed, 26 Feb 1997 08:21:57 GMT">

header("Expires: Wed, 26 Feb 1997 08:21:57 GMT");

Format of the date is important.

Doesn't always work but definitely helps in most cases. Really important for dynamic sites.

Edit to fix extra "." in the header line.

hostchamp
09-14-2002, 08:37 AM
does the date remain wht you have put above?
What actually does the date tell the browser?

Lagniappe-labgeek
09-14-2002, 08:49 AM
Any expired date should work - I use dates pre -1980. Just in case the date on the computer got lost as used to happen fairly often.

Check out RFC 2068 Section 14.21
http://www.alternic.org/rfcs/rfc2000/rfc2068.txt

"14.21 Expires

The Expires entity-header field gives the date/time after which the
response should be considered stale. A stale cache entry may not
normally be returned by a cache (either a proxy cache or an user
agent cache) unless it is first validated with the origin server (or
with an intermediate cache that has a fresh copy of the entity). See
section 13.2 for further discussion of the expiration model.

..."

There's also a cache-control - section 14.9 but the expires has worked for me with synamic sites.

floppy
09-15-2002, 03:56 AM
Delete all temporary files on the machine and clear cache on the proxy server. It will solve the purpose. :)

nachopo
09-16-2002, 09:55 AM
Originally posted by x222943
have them refresh the page, and clear thier temp internet files... not sure if you ment to say they are behind a proxy/firewall, or they are not, but if they are, the page could be caught up in the proxy cache...

Hi!
yes, they delete temp internet files.

The's a way that proxy cache will delete temporaly files automat.

regards

merconline
09-16-2002, 05:42 PM
hit that Ctrl - F5 few times...

it helps in most cases as i advice also to my clients.