homepage Welcome to WebmasterWorld Guest from
register, free tools, login, search, pro membership, help, library, announcements, recent posts, open posts,
Pubcon Platinum Sponsor 2014
Home / Forums Index / Code, Content, and Presentation / HTML
Forum Library, Charter, Moderators: incrediBILL

HTML Forum

meta tag to refresh content every day because of proxy
does it exist?

5+ Year Member

Msg#: 4194375 posted 10:38 am on Aug 31, 2010 (gmt 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?




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

Msg#: 4194375 posted 3:41 pm on Aug 31, 2010 (gmt 0)

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:

Pragma: no-cache

A detailed description how HTTP headers influence caching can be found in RFC2616 section 13 [w3.org].


5+ Year Member

Msg#: 4194375 posted 2:57 pm on Sep 1, 2010 (gmt 0)

Thank You lammert!

i'll look into it :-)

Global Options:
 top home search open messages active posts  

Home / Forums Index / Code, Content, and Presentation / HTML
rss feed

All trademarks and copyrights held by respective owners. Member comments are owned by the poster.
Home ¦ Free Tools ¦ Terms of Service ¦ Privacy Policy ¦ Report Problem ¦ About ¦ Library ¦ Newsletter
WebmasterWorld is a Developer Shed Community owned by Jim Boykin.
© Webmaster World 1996-2014 all rights reserved