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!

Reply via email to