Search squid archive

Re: Yet another store_id question HIT MISS

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Well it's pretty simple, I have used squd 4.0.13 with default settings and the rules you provided ie:
squid.conf:
store_id_program /usr/lib64/squid/storeid_file_rewrite /etc/squid/storeid-rules
store_id_children 40 startup=10 idle=5 concurrency=0
store_id_access allow GET
store_id_access deny all

/etc/squid/storeid-rules:
^http:\/\/igcdn-.*\.akamaihd\.net/hphotos-ak-.*/(t5.*?)(?:\?|$) http://instagramcdn.squid.internal/$1

But I am not sure how you decided on the StoreID structure. I am pretty sure you can replace the ".*" with a much more accurate rule such as in:
^http:\/\/igcdn-(photos|videos)-([a-z]+)-a\.akamaihd\.net/hphotos-ak-([a-z0-9]+)/(t5[\.\-\_\/a-z0-9]+?)(?:\?|$) http://instagramcdn.squid.internal/$4

Eliezer

----
Eliezer Croitoru
Linux System Administrator
Mobile: +972-5-28704261
Email: eliezer@xxxxxxxxxxxx


-----Original Message-----
From: squid-users [mailto:squid-users-bounces@xxxxxxxxxxxxxxxxxxxxx] On Behalf Of Omid Kosari
Sent: Saturday, August 20, 2016 4:41 PM
To: squid-users@xxxxxxxxxxxxxxxxxxxxx
Subject: Re:  Yet another store_id question HIT MISS

I have also tested with several browsers, PCs etc . Also i have disabled
every refresh pattern except default squid rules as like as yours . Same
result . 

The only way to get hits are the way i mentioned in
http://squid-web-proxy-cache.1019090.n4.nabble.com/Yet-another-store-id-question-HIT-MISS-tp4678972p4679025.html


Do you tested when enabled my storeid config (mentioned in my first email )
was there ?



--
View this message in context: http://squid-web-proxy-cache.1019090.n4.nabble.com/Yet-another-store-id-question-HIT-MISS-tp4678972p4679067.html
Sent from the Squid - Users mailing list archive at Nabble.com.
_______________________________________________
squid-users mailing list
squid-users@xxxxxxxxxxxxxxxxxxxxx
http://lists.squid-cache.org/listinfo/squid-users

_______________________________________________
squid-users mailing list
squid-users@xxxxxxxxxxxxxxxxxxxxx
http://lists.squid-cache.org/listinfo/squid-users




[Index of Archives]     [Linux Audio Users]     [Samba]     [Big List of Linux Books]     [Linux USB]     [Yosemite News]

  Powered by Linux