RE: Caching of redirected pages

From: Dave J Woolley <DJW@dont-contact.us>
Date: Fri, 25 Jun 1999 12:04:43 +0100

> From: Richard Stagg [SMTP:squid@bae.co.uk]
>
> I'd appreciate any ideas as to how I can redirect to this
> username/password page while specifying that it is not to be cached.
>
        Redirect to the page with status 302!

        Your problem is probably that the server is serving the
        redirected page, rather than a redirection.

        You might be able to fool it by supplying an absolute URL
        in the redirect; if it serves a cacheable page when you
        explicitly set status 302, then it is broken.

        Status 302 assumes that the original request was a GET.

        My understanding is that squid never caches redirects, even
        though it would be legitimate to cache 301 redirects.

        Other workarounds would be to use .asis pages or include
        meta data to indicate expiry by other means. Details depend
        on your server.
Received on Fri Jun 25 1999 - 05:12:45 MDT

This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 16:46:59 MST