Hiyas,
First of all, sorry for the late answer. :)
Henrik Nordstrom wrote:
> tor 2006-04-20 klockan 15:51 -0700 skrev Mike Leong:
>
>>> I would like to know if it is possible to configure squid to
>>> "ignore" the cacheability of any page, and simply force squid to cache
>>> all the content requested on the backend servers.
>> yes, override the page cache directive via the refresh_pattern directive.
It seems that "refresh_pattern" does not enforce the rules on all
objects, applying the policies only to "cacheable" ones.
>>> Also, I would like to ignore any info regarding the expire of the
>>> object(for example forcing the object to be valid for a month or so), or
>>> any request to "refresh" an object from the cache, unless this request
>>> came in the form of a "PURGE".
>>
>> Use the refresh_pattern directive for this as well.
Again, as long as the object is cacheable, this directive seems to work
as expected.
> But if you can you should work with the web server to have it announce
> proper cacheability status.
>
> Some ammo for the purpose:
> Caching Tutorial for Web Authors and Webmasters
> <url:http://www.mnot.net/cache_docs/>
>
> Cacheability Engine
> <url:http://www.mnot.net/cacheability/>
Heh, those URLs solved my problem. Discovered that my vignette engine
was not sending any "Expires" or "Cache-Control" headers, and had SSI
enabled globally on my Apache server (which in turn disabled the
"Last-Modified", "ETag" and "Content-Length" headers).
Simply using the mod_expires module on my Apache+vignette backend
solved the issue. Also, I'm trying to disable SSI on all virtualdomains
with "static" pages (pages without any "include" section).
Anyway, thanks for your help (Henrik/Mike).
> Regards
> Henrik
Regards,
Domingos.
-- Domingos Parra Novo Coordenador de Projetos Terra Networks Brasil S/A Tel: +55(51)3284-4275Received on Wed May 03 2006 - 11:13:56 MDT
This archive was generated by hypermail pre-2.1.9 : Thu Jun 01 2006 - 12:00:01 MDT