[squid-users] caching and changing content
nabil1385 at gmail.com
Thu Sep 12 14:21:32 UTC 2019
In case a client has already downloaded the content and I request the content
again without deleting the local cache (this would be the scenario "same
client") in this case I see a 304 HEAD request which is sent out to the
server (no new download from the server). Probably this works due to the
etag and/or last-modified headers so it can be sorted out whether the
content is still fresh or not.
But this does not work when the client has an empty cache or not downloaded
this resource before.
The desired behaviour would be that in this case the squid compares the
resource on the server (internet side) with the resouce from its own cache
in order to decide whether the content is still fresh or not.
Yes - I can allow squid to ask the origin server whether the content is
still the same. Probably my problem is that I don't know how to do that.
Sent from: http://squid-web-proxy-cache.1019090.n4.nabble.com/Squid-Users-f1019091.html
More information about the squid-users