[squid-users] Squid 2.7, 3.4 and 3.5 Videos/Music/Images/Libraris/CDNs Booster

Yuri Voinov yvoinov at gmail.com
Mon Jan 5 13:54:35 UTC 2015


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
 
Just look at this one:

^http:\/\/[^\.]+\.c\.youtube\.com\/videoplayback\?.*?id=([^&]+)&.*?itag=([^&]+)&.*?range=([^&]+).*   
http://video-srv.youtube.com.SQUIDINTERNAL/$1&$2&$3
^https:\/\/[^\.]+\.c\.youtube\.com\/videoplayback\?.*?id=([^&]+)&.*?itag=([^&]+)&.*?range=([^&]+).*   
https://video-srv.youtube.com.SQUIDINTERNAL/$1&$2&$3
^http:\/\/[a-zA-Z0-9\-\_\.]+\.ytimg\.com\/(.*\.jpg|.*\.gif|.*\.js)/   
http://cdn.ytimg.SQUIDINTERNAL/$1
^https:\/\/[a-zA-Z0-9\-\_\.]+\.ytimg\.com\/(.*\.jpg|.*\.gif|.*\.js)/   
https://cdn.ytimg.SQUIDINTERNAL/$1
^http:\/\/(.*?)\/(ads)\?(?:.*?)$    http://$1/$2
^https:\/\/(.*?)\/(ads)\?(?:.*?)$    https://$1/$2
^http:\/\/(?:(?:[A-Za-z]+[0-9-.]+)*?)\.(.*?)\.(.*?)\/(.*?)\.(.*?)\?(?:.*?)$   
http://cdn.$1.$2.SQUIDINTERNAL/$3.$4
^https:\/\/(?:(?:[A-Za-z]+[0-9-.]+)*?)\.(.*?)\.(.*?)\/(.*?)\.(.*?)\?(?:.*?)$   
https://cdn.$1.$2.SQUIDINTERNAL/$3.$4
^http:\/\/(?:(?:[A-Za-z]+[0-9-.]+)*?)\.(.*?)\.(.*?)\/(.*?)\.(.{3,5})$       
http://cdn.$1.$2.SQUIDINTERNAL/$3.$4
^https:\/\/(?:(?:[A-Za-z]+[0-9-.]+)*?)\.(.*?)\.(.*?)\/(.*?)\.(.{3,5})$       
https://cdn.$1.$2.SQUIDINTERNAL/$3.$4
^http:\/\/(?:(?:[A-Za-z]+[0-9-.]+)*?)\.(.*?)\.(.*?)\/(.*?)$           
http://cdn.$1.$2.SQUIDINTERNAL/$3
^https:\/\/(?:(?:[A-Za-z]+[0-9-.]+)*?)\.(.*?)\.(.*?)\/(.*?)$           
https://cdn.$1.$2.SQUIDINTERNAL/$3
^http:\/\/(.*?)\/(.*?)\.(jp(?:e?g|e|2)|gif|png|tiff?|bmp|ico|flv)\?(?:.*?)$   
http://$1/$2.$3
^https:\/\/(.*?)\/(.*?)\.(jp(?:e?g|e|2)|gif|png|tiff?|bmp|ico|flv)\?(?:.*?)$   
https://$1/$2.$3
^http:\/\/(.*?)\/(.*?)\;(?:.*?)$                        http://$1/$2
^https:\/\/(.*?)\/(.*?)\;(?:.*?)$                        https://$1/$2

This is my config for store_url_rewrite.

Just check it.

After that we talk about "70%" again, ok? ;)

05.01.2015 19:47, Stakres пишет:
> Hi Yuri,
>
> Does the "we don't need" means "you don't need" or do you speak for all
> users of Squid ?
>
> We have done tons of tests with the "storeid_file_rewrite", sorry to tell
> you it does not achieve 70% because:
> - The prog you provide is nude, I mean there is 1 example only
> - Admins have to check hundred of websites to correctly add them into the
> process
> - All do not know Perl langage
> - Many websites are specific in their URLs like YouTube, Akamai, etc...
>
> So, I perfectly understand the "/we don't need any hardcoded commercial
> analogue./" but correct me if I'm wrong you're not alone on the planet,
> correct ?
> There are admins looking for a complete solution because they have no free
> time to spend by doing the de-duplication by themselves. My message is to
> inform them, if you're not interested no problem but some want to be
> updated.
>
> Thanks in advance to keep my post safe.
> If this type of message is not accepted in this forum, ok just let me
know.
>
> Bye Fred
>
>
>
>
> --
> View this message in context:
http://squid-web-proxy-cache.1019090.n4.nabble.com/Squid-2-7-3-4-and-3-5-Videos-Music-Images-Libraries-CDNs-Booster-tp4668683p4668933.html
> Sent from the Squid - Users mailing list archive at Nabble.com.
> _______________________________________________
> 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
 
iQEcBAEBAgAGBQJUqpeaAAoJENNXIZxhPexG4vcH/iTSvdThJzvLimkbmHut7wX0
iKUr4foJV5dtnwtkQ7oE1wmMML+ev0jyTNWDj0g+hEBJKrvxw0Yrsw6OjcE14fra
1hQir07wW9G0rgJKjQKISItelL+6uwHRfatWb7eJdbI+hZRTO4VEygbZO1JtT+P9
l+vGzAcj7rQ0KEu36bg+uYm9daWqt9cj0uLttd8rrld34Oa40CVY4NYbkzUht9sQ
Aqz5nGvo/vY127Ij+oeZ3X82TUAjhg09VORZisFhha3/cgOR5WIcnFnhLvocikUc
Xf2IN4B1/JrgcTPxcDreFhtnAmxAEncYn8sEvzuFbO08tNAN3Ieny880aTstEmQ=
=4cl5
-----END PGP SIGNATURE-----



More information about the squid-users mailing list