Hi Perrin,
> Sorry to ask what seems like a stupid question, but how do I get Squid
> to cache dynamically generated pages? I'm trying to use it for
> acceleration of an existing server, and want to cache the results of CGI
> requests for 24 hours, even though they don't send last_modified or
> expires headers.
>
> The basic proxying/acceleration is working fine, but it isn't caching
> the CGI pages. Do I need to turn off some stopwords somewhere?
>
For squid v1.1.* look in the squid.conf file for "hierarchy_stoplist" and
"cache_stoplist".. The default setting is not to cache URL's with a "?"
or "cgi-bin".. You also have to set the "refresh_pattern" for the URL's
containing "cgi-bin" ..
Cheers, Henny
-- ----------------------------------------------------------------------------- E-Mail: Henny.Bekker@accu.uu.nl ! Disclaimer: The main obstacle to progress http http://www.uu.nl/~henny ! progress is not ignorance,but PTT: Voice: +31 30 2536971 Fax: +31 30 2531633 ! the illusion of knowledge X500: cn=Henny Bekker, ou=Ontwikkeling, ou=ACCU, o=UU, c=NL o Paper: H.J.Bekker, Utrecht University, Computer Centre _ /- _ Po Box 80011, 3508 TA Utrecht Nederland (_) > (_) -----------------------------------------------------------------------------Received on Tue Sep 29 1998 - 16:59:44 MDT
This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 16:42:13 MST