[squid-users] Cache html pages with advertised length of -1?

Joshua Kronemeyer jkroneme at asu.edu
Thu Aug 15 08:14:22 UTC 2019


Hello all!

I'm trying to cache some HTML pages with squid, but the pages I'm trying to
cache always advertise size of -1. (Advertised Size/Actual Size i.e.
-1/104732)
The http headers don't include a content-length.

As per the store.log docs "If the advertised length is not zero, but not
equal to the real length, the object will be released from the cache."
Is there a way to get the size of this page in advance so squid can cache
it or ignore the mismatch?

Thanks!
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.squid-cache.org/pipermail/squid-users/attachments/20190815/42dea9ee/attachment.html>


More information about the squid-users mailing list