[squid-users] using htcp or peering for squid3.1 and 2.7 to cache you tube files

From: Eliezer <eliezer_at_ec.hadorhabaac.com>
Date: Wed, 16 Feb 2011 15:20:10 +0200

im using now squid 3.1.10 and i dont have the store_url_rewrite option
and some of my network users watching youtube videos that i want to cache.

i had problems with squid2.7stable7 and 3.0.STABLE19
that when a user is listening to stream music on aol\shoutcast instead
of getting into "buffering" cause of a slow connection,

the player will play some buggy noise (really unpleasant ) and like
nothing happened continues the playback for 3 seconds and back the noise.

using squid 3.1.10 solved this problem but i still want the option to
store for sometime youtube videos.

the only way that i was thinking to make it work was to use two squid
versions one is the current 3.1.10 and the other
will be using squid 2.7 just to store youtube videos and maybe pictures.

im using a store_url rewriting that i have wrote and when it will be
tested for a more production usage i will publish the full code.

the network diagram is:

users --->router-->squid3.1.10+squid2.7(transparent)--->the internet

squid 3.1.10 ip:192.168.100.30

squid 2.7 ip:192.168.10.20

so i would like to peer them both in a way that only specific domains or
regular expressions urls will go to to the squid2.7

i understand that i need to peer between the servers and use htcp-icp

and also to use some acls.

i have seen the cache_peer_domain and htcp_access and i also started
looking at

http://www.deckle.co.za/squid-users-guide/Cache_Hierarchies

i will be very glad to have some information on how to make it work for me.

Thanks

Eliezer
Received on Wed Feb 16 2011 - 13:20:22 MST

This archive was generated by hypermail 2.2.0 : Thu Feb 17 2011 - 12:00:05 MST