On tis, 2008-08-12 at 18:00 -0500, Ritter, Nicholas wrote: > When using either Squid 2.6STABLE (latest) or Squid3HEAD, will the > following work? Depends on what you want the result to become.. > acl myjar_cache_ctl urlpatch_regex -i .(jar) > header_access Cache-Control deny all > header_replace Cache-Control public, s-maxage=14400, max-age=14400 This will replace the header on any outgoing messages send by Squid (both requests and responses). But it does not change squid's internal view of the received header. > This is for overriding the cache-control settings for an > internal/private Java JRE app where the client downloads the jar files > from the server and runs them. I want to do this because the client-side > java JRE is sending a cache-control no-cache setting, and my server is > following also doing this. I have already set my server to the > public/max-age, but the client still sends a no-cache directive. From that description the refresh_pattern ignore-reload option is what you are really looking for, not header_replace. Regards Henrik
Attachment:
signature.asc
Description: This is a digitally signed message part