The faulty component is the web server (or webmaster) in this case. <meta http-equiv..> headers is only valid if the web server hosting the pages knows to parse the HTML and insert these headers into the HTTP headers.
Unfortunately some web browsers stupidly enough also reads these headers, making a mess of things (i.e. making webmasters think the directives work when they infact do not...) But more scripts of this type is always useful I think. If you make a small web page that can act as a homepage for the script with some description of usage etc then I can link to it from the "Related Software" Squid page. Regards Henrik Pedro Zorzenon Neto wrote: > > Hi all, > > I have a problem that squid caches some html pages with > <meta ... no-cache> > > Then I wrote a simple workaround program that analyses text/html pages > fetched by squid for the headers: > > <meta http-equiv="pragma" content="no-cache"> > <meta http-equiv="cache-control" content="no-cache"> > <meta http-equiv="expires" content="0"> > <meta http-equiv="expires" content="-1"> > > It also checks for variations of this headers, like: > < meta > http-equiv='pragma' > content=no-cache > > > > If any of this headers are found, then the program calls squid client > program with "-m PURGE" argument, then the page is purged from cache. > > If you think this software is usefull for you, then please test it and > give me a feedback. > > You can download it at http://www.autsens.com/sqcwa.tgz > > This is TESTING software... it seems to work OK for our company, but > we did not make any other tests. > > Thanks, > Pedro > > -- > .''`. Pedro Zorzenon Neto <[EMAIL PROTECTED]> > : :' : Debian GNU/Linux | GNU/Hurd: <http://www.debian.org> > `. `'` Debian BR: <http://debian-br.cipsga.org.br> > `- Be Happy! Be FREE!
