On Fri, 5 Aug 2005, Logu wrote:
> Is it possible to make squid to cache objects based on content-type. I have
> a microsoft webserver which serves images. The url looks something like
> http://www.abc.net/pixdll?no=24 and the content type is either image/jpeg or
> sometimes text/html . But none of these obejects or not cached. Is it
> possible to cache only the image/jpeg content.
Unfortunately not without first coding the feature.
In theory one should be able to use the no_cache directive with the
rep_mime_type ACL but this can not work today as no_cache is evaluated
before forwarding the request only (i.e. no response available yet to
find the mime type from).
Regards
Henrik
Received on Fri Aug 05 2005 - 07:18:49 MDT
This archive was generated by hypermail pre-2.1.9 : Thu Sep 01 2005 - 12:00:01 MDT