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 <pzn@terra.com.br> : :' : Debian GNU/Linux | GNU/Hurd: <http://www.debian.org> `. `'` Debian BR: <http://debian-br.cipsga.org.br> `- Be Happy! Be FREE!Received on Wed Jan 29 2003 - 10:56:32 MST
This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 17:12:57 MST