Review your favorite Linux distribution.
Go Back > Forums > Linux Forums > Linux - Software
User Name
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.


  Search this Thread
Old 02-11-2011, 04:53 AM   #1
Registered: May 2004
Location: bangalore
Distribution: Cent OS, Ubuntu
Posts: 116

Rep: Reputation: 15
Caching youtube squid3


I am working on the Squid3.

Can we cache youtube videos with squid3.

from the below link,

Some private modifications of squid have apparently achieved caching. However, there is presently no simple solution available to the general public.
To cache files, you will need to enable caching of dynamic content and some other measures, which technically break the HTTP standards.
***SECURITY NOTE:*** Some of the required configuration (quick_abort_min + large maximum_object_size) requires collapsed-forwarding feature to protect from high bandwidth consumption and possible cache DDoS attacks. Squid-3.0 does not have that feature at this time. Squid-2.7 is recommended for use with these settings.

Did anyone succeed in doing the caching with Squid3?

Thanks and Regards,
Old 03-10-2011, 10:29 PM   #2
Registered: Apr 2010
Posts: 243
Blog Entries: 2

Rep: Reputation: 31
It is telling you the features needed to do this.

quick_abort_min and large maximum_object_size and requires collapsed-forwarding

What happened when you tried them?
Old 03-11-2011, 03:10 PM   #3
Registered: Oct 2010
Location: Texas
Distribution: Debian, Ubuntu, CentOS, RHEL
Posts: 131

Rep: Reputation: 25
caching YouTube videos

I am on 3.1.11. Here is what the release notes say for 3.1.11 about the directives needed:
    Not yet ported from 2.6
    Not yet ported from 2.7
    Not yet ported from 2.7
    Not yet ported from 2.7
    Not yet ported from 2.7
If you put the code referred to in the squid blog article in squid.conf, here's what happens:
:~$ sudo /etc/init.d/squid restart
 * Restarting Squid HTTP proxy squid 
2011/03/11 13:58:30| parseOneConfigFile: squid.conf:104 unrecognized: 'collapsed_forwarding'
2011/03/11 13:58:30| parseOneConfigFile: squid.conf:105 unrecognized: 'storeurl_ [fail]
It can't be done, unless you re-write squid 3.
Old 03-14-2011, 03:07 AM   #4
Registered: May 2004
Location: bangalore
Distribution: Cent OS, Ubuntu
Posts: 116

Original Poster
Rep: Reputation: 15

Thanks for the reply.

Yes, I have tried those options, but collapsed_forwarding is new to me.

Some blogs said, it can be done with the Squid 2.7, I am tried that too, but still no luck.

Thanks and Regards,


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
youtube caching asim.mcp Linux - Server 3 02-12-2010 08:36 AM
squid2 or squid3 ? cccc Linux - Server 2 10-06-2008 02:23 PM
squid3 use only RAM xxxx Linux - Server 0 09-16-2008 04:44 AM
LXer: Youtube-dl - Download videos from Youtube in openSUSE LXer Syndicated Linux News 1 08-14-2008 09:10 AM
Caching entire youtube Net_Spy Linux - Networking 3 02-22-2008 04:49 AM > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 11:39 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration