Welcome to WebmasterWorld Guest from 54.145.85.87

Forum Moderators: incrediBILL

Message Too Old, No Replies

meta tag to refresh content every day because of proxy

does it exist?

     
10:38 am on Aug 31, 2010 (gmt 0)

Junior Member

5+ Year Member

joined:Jan 5, 2009
posts: 43
votes: 0


Hey guys,

if a website is behind a proxy, and this proxy decides to cache more pages than wished for, is it possible and sensible to use a meta tag to force the proxy to drop its cache and give a new version of a page?

I read that proxy's don't always read the html they are forwarding, so that sounds as if it's not a sensible idea. However, the proxy does not always listen to the server either, so using a refersh-command in the http-header may also fail.

Any tips?

Thanks
Regards
immols
3:41 pm on Aug 31, 2010 (gmt 0)

Senior Member from KZ 

WebmasterWorld Senior Member lammert is a WebmasterWorld Top Contributor of All Time 10+ Year Member Top Contributors Of The Month

joined:Jan 10, 2005
posts: 2932
votes: 20


Proxies normally don't parse meta tags in HTML files, but they do interpret and obey HTTP headers. HTTP headers are the command lines sent with every object (HTML file, image etc.) from the webserver to the browser before the real content is sent. A number of these headers influence caching. You can't send these headers from plain HTML files, but you can send them from scripting languages like PHP.

Headers which are worth looking at are:

Expires:
Cache-Control:
Last-Modified:
Pragma: no-cache

A detailed description how HTTP headers influence caching can be found in RFC2616 section 13 [w3.org].
2:57 pm on Sept 1, 2010 (gmt 0)

Junior Member

5+ Year Member

joined:Jan 5, 2009
posts:43
votes: 0


Thank You lammert!

i'll look into it :-)
 

Join The Conversation

Moderators and Top Contributors

Hot Threads This Week

Featured Threads

Free SEO Tools

Hire Expert Members