[Spambayes] Web Interface enhancements

Richard Jowsey richard at death2spam.net
Thu May 15 09:32:09 EDT 2003


You might additionally set some "anti-cache" HTTP headers, like so:

   Last-Modified: [the current date-time]
   Expires: "Thu, 01 Jan 1970 00:00:00 GMT"
   Cache-Control: "no-cache, must-revalidate, no-store"
   Pragma: "no-cache"
   Cache: "no-cache"

These, plus your META tags, ought to convince the majority of 
browsers to refresh those pages. YMMV.

Cheers,
Richard

> > On a slightly different note...
> > Can you [in the web interface] disable caching?
> > It's happened many times that I have to press the Reload button
> > after clicking a link.
> 
> I noticed this too, and I tried to do it - all the pages have:
>  <meta content="no-cache" http-equiv="Pragma"/>
>  <meta content="-1" http-equiv="Expires"/>
> which I thought should do the trick, but seems a bit patchy.
> 
> Can anyone correct the meta tags or tell me what a better method is?
>
> =Tony Meyer






More information about the Spambayes mailing list