[squid-users] Caching URL with ?
Yuri
yvoinov at gmail.com
Mon Oct 2 18:14:44 UTC 2017
Not enough information.
Is token persistent from GET to GET? Or it changed from day to day (by
hash from date, for example?) If ir persistent, it can be stored by
store-ID. If not -no.
The other way here is not to blame. It is necessary to understand,
whether the token is really unique for unique content or not. This is
the subject of reverse engineering, I think.
02.10.2017 23:44, Hector Chan пишет:
> 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
>
>
> _______________________________________________
> squid-users mailing list
> squid-users at lists.squid-cache.org
> http://lists.squid-cache.org/listinfo/squid-users
--
**************************
* C++: Bug to the future *
**************************
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.squid-cache.org/pipermail/squid-users/attachments/20171003/06790970/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0x3E3743A7.asc
Type: application/pgp-keys
Size: 2887 bytes
Desc: not available
URL: <http://lists.squid-cache.org/pipermail/squid-users/attachments/20171003/06790970/attachment.key>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 659 bytes
Desc: OpenPGP digital signature
URL: <http://lists.squid-cache.org/pipermail/squid-users/attachments/20171003/06790970/attachment.sig>
More information about the squid-users
mailing list