[squid-users] Caching URL with ?

Hector Chan hectorchan at gmail.com
Mon Oct 2 17:44:24 UTC 2017


I have a question about caching URLs with an auth token embedded in the URL
parameter.  For example:

https://www.example.com/path/page?token=xxx135ynjy93tqi

The page can be uniquely identified without the URL parameters.  It appears
squid is using the full URL, including the URL parameters, as the cache
key.  Thus, causing the HIT rate to plummet.  Is there any way I can tell
squid to disregard the URL parameters when storing to or serving from
cache?  I know the store_id_program can do that, but is there any other way?

Thanks,
Hector
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.squid-cache.org/pipermail/squid-users/attachments/20171002/90a2a713/attachment.html>


More information about the squid-users mailing list