-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA256 12.08.15 19:39, Eliezer Croitoru пишет: > On 12/08/2015 16:12, Yuri Voinov wrote: >> Thank you, Amos, for explanation. >> >> It is an exhaustive answer to my doubts.:) >> >> So, finally, I can write Store-ID map rules without any protocol prefix, >> or use any, no matter? >> >> I.e., ^https?:\/\/(.*?)\/(.*?)\;(?:.*?)$ anysite$1.SQUIDINTERNAL/$2 >> >> ? > > Hey Yuri, > > Yes indeed you can but it's recommended to use some protocol and if you have an https map it to the right one that will de-duplicate for your needs. > For example there are many sites which offers both https and http for the same content while redirecting to the https many times instead of http. > In this case you are better to not save the same object for http and https. Hmmmmmm. You want to say will better to have HTTP/HTTPS duplicate rules for the same content? This can lead problems with YT, for example. And make storage space bigger... Now I'm trying to produce some best practice with Store-ID for myself. This is why this question occurs. > > All The Bests, > Eliezer > > _______________________________________________ > squid-users mailing list > squid-users@xxxxxxxxxxxxxxxxxxxxx > http://lists.squid-cache.org/listinfo/squid-users -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 iQEcBAEBCAAGBQJVy024AAoJENNXIZxhPexGHnIIAM4Gn2rE81NHPFvfGeBfrZqj H1pEXiaMM/1IXi6rT8nDcG6L8+ElnuodfoUYcFvxH2p3XKmwPUcaI1iyGbwIfKKH DsOGYBIlPYgaa9Ypi1IrBO8BoM3seYYYSZJZQ6HEW3EAiLVMeHR60pWsPMBI3ddV tfq2vyc9/FR2YiQjlARe/BACG7nsmffQzC/s3M77k1bCFkN75+Bb/RGdJ1D87beS PoVFAjjb3K1gDMMagRMhx4KoLgLXwriliHVxBs2VhWqdLR+E1brBNl2v77FvqbAX kYj++JxzDKQRIQgmX23SG6vgZi0i+UJtiPTKgT/m0n2um+H9mUcsdvLcJiGkce4= =16uO -----END PGP SIGNATURE----- _______________________________________________ squid-users mailing list squid-users@xxxxxxxxxxxxxxxxxxxxx http://lists.squid-cache.org/listinfo/squid-users