[squid-users] how works store-id ?

Yuri Voinov yvoinov at gmail.com
Mon Mar 7 13:58:53 UTC 2016


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256
 
Adobe updates don't use CDN in general.

So, store ID is unusable for it.

It's enough to write correct refresh_pattern.

If you want to use store ID against, static URL regex is no problem.

Just go to https://regex101.com and write correct expression.

That's all, folks.

07.03.16 17:16, Tony Peña пишет:
> hi . .i trying to use store id.
> i copy and paste some lines from many tutorials using this script and
squid is working with it..
> i check if the object will be store with store-id result as OK, and
for windows update works and did it swapout, but for other objects
example .msi the script do store-id OK but don't swapout.. it's doing
release..
>
> echo
"http://armmf.adobe.com/arm-manifests/win/ServicesUpdater/DC/RdrManifest.msi"
| /usr/lib/squid3/storeid_file_rewrite /etc/squid3/url_patterns
> OK store-id=http://adobe.squid.internal/msi
>
> on the logs
>
> 1457348646.201 RELEASE -1 FFFFFFFF AD0EA341D9655150F4BD0DB566F55E4A 
502 1457348646         0        -1 text/html 25696/25696 GET
http://armmf.adobe.com/arm-manifests/win/ServicesUpdater/DC/RdrManifest.msi
>
> it's possible maybe the regex is wrong..
>
> this is the pattern to check when script read
>
.*\.(exe|msi|msp|msu|dmg|bin|xpi|iso|psf|cab|dsft|swz|pkg|z|idx|gz|upd|aup|cer)$       
http://aron.squid.internal/$1
>
> any idea? or what i'm missing?
>
> thanxs
> --
> perl -le 's ffSfs.s fSf\x54\x6F\x6E\x79 \x50\x65\x6e\x61f.print'
>
> Secure email with PGP 0x8B021001 available at https://pgp.mit.edu
<https://pgp.mit.edu/pks/lookup?search=0x8B021001&op=index&fingerprint=on&exact=on>
> Fingerprint: 74E6 2974 B090 366D CE71  7BB2 6476 FA09 8B02 1001
>
>
> _______________________________________________
> squid-users mailing list
> squid-users at lists.squid-cache.org
> http://lists.squid-cache.org/listinfo/squid-users

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2
 
iQEcBAEBCAAGBQJW3YkcAAoJENNXIZxhPexGRFYIAMz3GmaPHy3NLf8CuZ+Egvod
GdeANMOAMEljKv0gOzrqnpDY4wEAZKhBDGzxsmC6V6WRBwe59NQP4e7Of9QoKVHU
K7Toj2El9FB6C9EyxYUH0z7z5x64oEXyGzwQ+yGmu8/vHJ+PBuSKEahkRCGruNd6
uhwiYwqAyP5D//71aj1ZnpgAjB/o690MqnK/5qqcPFFWI+b3sTnKCppJ2UCPsZoy
M8HOLj7BU9VpFJzEaL/aE0cjTyJYEHf6F0vjWYFyjRjtPDOn0PcV1w6mUiinDAhm
hKrHXVHSoTLolF18VmlWXde5QCrNCGvYffcZOLO2unj9yyst/w5o+3pTNpPTfXg=
=x/xL
-----END PGP SIGNATURE-----

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.squid-cache.org/pipermail/squid-users/attachments/20160307/0918958a/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0x613DEC46.asc
Type: application/pgp-keys
Size: 2437 bytes
Desc: not available
URL: <http://lists.squid-cache.org/pipermail/squid-users/attachments/20160307/0918958a/attachment.key>


More information about the squid-users mailing list