[squid-users] offline mode not working for me

Robin Carlisle robin.carlisle at framestore.com
Sun Jan 21 09:54:14 UTC 2024


Ah OK - understood.  Thanks for the explanation.

Robin

On Sat, 20 Jan 2024 at 12:17, Amos Jeffries <squid3 at treenet.co.nz> wrote:

> On 20/01/24 02:05, Robin Carlisle wrote:
> >
> > I do have 1 followup question which I think is unrelated, let me know if
> > etiquette demands I create a new post for this. When I test using
> > chromium browser, chromium sends OPTION requests- which I think is
> > something to do with CORS.   These always cause cache MISS from squid,..
> > I think because the return code is 204...?
> >
>
> No, the reason is HTTP specification (RFC 9110 section 9.3.7):
>     "Responses to the OPTIONS method are not cacheable."
>
> If these actually are CORS (might be several other things also), then
> there is important differences in the response headers per-visitor.
> These cannot be cached, and Squid does not know how to correctly
> generate for those headers. So having Squid auto-respond is not a good
> idea.
>
>
> Cheers
> Amos
> _______________________________________________
> squid-users mailing list
> squid-users at lists.squid-cache.org
> https://lists.squid-cache.org/listinfo/squid-users
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.squid-cache.org/pipermail/squid-users/attachments/20240121/cf101939/attachment.htm>


More information about the squid-users mailing list