[squid-users] Squid 4.2 : caching is not working

Hariharan Sethuraman srnhari at gmail.com
Mon Sep 10 15:03:50 UTC 2018


Thanks a lot Amos.

1) ok, the client does a GET /<resource> with authorization header. So I
cant cache unless I ask the site-owner to send the cache-control to
whatever it can enable the intermediate cache-server to persist it.
2) Does squid-cache allow a way where I can upload the file into cache?

On Mon, Sep 10, 2018 at 8:21 PM Amos Jeffries <squid3 at treenet.co.nz> wrote:

> On 11/09/18 2:27 AM, Hariharan Sethuraman wrote:
> >
> > On Mon, 10 Sep 2018, 19:46 Amos Jeffries wrote:
> >
> >     On 11/09/18 12:18 AM, Hariharan Sethuraman wrote:
> >     >
> >     > 2) With more debug_options enabled, I see that it is not caching
> >     because
> >     > the response is part of authenticated flow. Is there a way I can
> >     > override this?
> >
> >     No. The server is supplying sufficient headers for caching to make it
> >     appear that the site authors intentionally are sending what does get
> >     delivered.
> >
> > If I understand correctly, you are saying the caching will not be done
> > on squid as the content is authorised by the specific client. We can't
>
> Authenticated, not authorized. This is one place where the difference
> matters.
>
> > do anything until I ask site owners to change cache control as public?
> >
>
> Pretty much, yes. I know Chrome at least used to deliver binaries whose
> installer contained details of the Google account of the user fetching
> it. So its not very safe to assume even downloaders are safely
> transferable.
>
> Amos
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.squid-cache.org/pipermail/squid-users/attachments/20180910/7e574961/attachment.html>


More information about the squid-users mailing list