Page 1 of 2 1 2 LastLast
Results 1 to 10 of 16

Thread: squid youtube caching

  1. #1
    Senior Member
    Join Date
    Jul 2006
    Posts
    191
    Thanks
    0
    Thanked 2 Times in 2 Posts
    Rep Power
    9

    Default squid youtube caching

    Hi,

    Does anyone know how to configure squid to cache youtube videos?
    I've tried these.

    http://piju.fakap.net/2008/11/08/tut...caching-proxy/
    ConfigExamples/DynamicContent/YouTube - Squid Web Proxy Wiki

    both do not work. any help please

  2. #2
    Never say die nixcraft's Avatar
    Join Date
    Jan 2005
    Location
    BIOS
    Posts
    4,515
    Thanks
    17
    Thanked 814 Times in 511 Posts
    Rep Power
    10

    Default

    It says it only works with squid version 2.7. Are you using v2.7?
    All [Solved] threads are closed by mods / admin to avoid spam issues. See Howto mark a thread as [Solved]


  3. #3
    Senior Member
    Join Date
    Jul 2006
    Posts
    191
    Thanks
    0
    Thanked 2 Times in 2 Posts
    Rep Power
    9

    Default

    Yes I've tried squid 2.7 stable 7 and squid 2.7 stable 3

  4. #4
    Never say die nixcraft's Avatar
    Join Date
    Jan 2005
    Location
    BIOS
    Posts
    4,515
    Thanks
    17
    Thanked 814 Times in 511 Posts
    Rep Power
    10

    Default

    May be youtube sending some sort of headers which squid can not use.
    All [Solved] threads are closed by mods / admin to avoid spam issues. See Howto mark a thread as [Solved]


  5. #5
    Senior Member
    Join Date
    Jul 2006
    Posts
    191
    Thanks
    0
    Thanked 2 Times in 2 Posts
    Rep Power
    9

    Default

    How can i check its sending headers which cannot be cached???

  6. #6
    Senior Member
    Join Date
    Jul 2006
    Posts
    191
    Thanks
    0
    Thanked 2 Times in 2 Posts
    Rep Power
    9

    Default

    There is a software on this side: Cache Videos | Videocache
    But they charge for this software, If this software can cache youtube then how is it possible that youtube is sending headers which cannot be cached??

  7. #7
    Never say die nixcraft's Avatar
    Join Date
    Jan 2005
    Location
    BIOS
    Posts
    4,515
    Thanks
    17
    Thanked 814 Times in 511 Posts
    Rep Power
    10

    Default

    They are downloading actual .flv file from other service provider and storing it on your local server. To see headers use

    Code:
    curl -I 'http://www.youtube.com/watch?v=rM8Wg8hCTG4'
    You will see
    Code:
    Cache-Control: no-cache
    All [Solved] threads are closed by mods / admin to avoid spam issues. See Howto mark a thread as [Solved]


  8. #8
    Senior Member
    Join Date
    Jul 2006
    Posts
    191
    Thanks
    0
    Thanked 2 Times in 2 Posts
    Rep Power
    9

    Default

    Who are downloading .flv???

  9. #9
    Senior Member
    Join Date
    Jul 2006
    Posts
    191
    Thanks
    0
    Thanked 2 Times in 2 Posts
    Rep Power
    9

    Default

    Is there any possibility i could save .flv???

  10. #10
    Never say die nixcraft's Avatar
    Join Date
    Jan 2005
    Location
    BIOS
    Posts
    4,515
    Thanks
    17
    Thanked 814 Times in 511 Posts
    Rep Power
    10

    Default

    The software you mentioned is downloading file to local server. Yes, you can save it programming like python or perl or php. You can also use firefox extension to do the same. But this will not useful for browsing cached file for end users when they go to youtube. What are you trying to build here? If local cache with squid - it is not possible since they Youtube is using CDN to send file to clients.
    All [Solved] threads are closed by mods / admin to avoid spam issues. See Howto mark a thread as [Solved]


Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. how does centos/redhat caching-nameserver work?
    By texaganian in forum CentOS / RHEL / Fedora
    Replies: 1
    Last Post: 9th October 2009, 12:54 AM
  2. Replies: 2
    Last Post: 17th July 2009, 02:50 PM
  3. DNS caching setting
    By garora in forum Domain Name Server
    Replies: 1
    Last Post: 24th March 2009, 08:02 PM
  4. web caching server
    By klauss35 in forum Proxy Servers
    Replies: 2
    Last Post: 13th February 2009, 09:10 AM

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •