Welcome, Guest. Please login or register.
Did you miss your activation email?
Monday 25 November 2024, 03:24:24 am

Login with username, password and session length

Visit the official Endian Community Mailinglist  HERE
14261 Posts in 4377 Topics by 6517 Members
Latest Member: Sandro
Search:     Advanced search
+  EFW Support
|-+  Support
| |-+  EFW SMTP, HTTP, SIP, FTP Proxy Support
| | |-+  Cache vídeo
0 Members and 1 Guest are viewing this topic. « previous next »
Pages: [1] Go Down Print
Author Topic: Cache vídeo  (Read 26426 times)
saluto
Full Member
***
Offline Offline

Posts: 11


« on: Sunday 29 September 2013, 04:36:14 am »

Need to do video cache, because my company uses very  from youtube, vímeo and uol, so internet bandwidth-intensive. How do I?
Logged
kieronrob
Full Member
***
Offline Offline

Gender: Male
Posts: 57


« Reply #1 on: Sunday 29 September 2013, 10:08:24 pm »

Hi Saluto,

Caching video from youtube, etc can be achieved with some success using squid. I suggest you google the squid refresh_patterns needed to implement this. I have posted some info on this in the following post:

http://www.efwsupport.com/index.php/topic,3779.msg10326/topicseen.html#msg10326

Try the refresh_patterns I posted there and see what your results are.

The issue you are going to face is that unless you have people viewing the same video multiple times you are not going to see much benefit from the cache. You will need to have a large drive to cache these files especially if they watching HD video.
Logged
saluto
Full Member
***
Offline Offline

Posts: 11


« Reply #2 on: Monday 30 September 2013, 10:23:56 am »

Created in/etc/squid/squid.conf commands, except that when I reboot the machine these commands disappear. Why is that?
Logged
kieronrob
Full Member
***
Offline Offline

Gender: Male
Posts: 57


« Reply #3 on: Monday 30 September 2013, 02:19:09 pm »

Hi Saluto,

These must be inserted in /etc/squid/squid.conf.tmpl so that they do not get overwritten by changes in the web interface.
Logged
saluto
Full Member
***
Offline Offline

Posts: 11


« Reply #4 on: Monday 30 September 2013, 11:43:13 pm »

Thank you, for helping me.

   Put the tutorial that your person passed me, only the proxy was in offline mode.
   I rebooted and still in offline mode.
Logged
saluto
Full Member
***
Offline Offline

Posts: 11


« Reply #5 on: Tuesday 01 October 2013, 04:23:09 am »

Sorry because I am using a translator.

  Every time I do I change in the/etc/squid/squid.conf.tmpl the proxy goes into offline mode
Logged
kieronrob
Full Member
***
Offline Offline

Gender: Male
Posts: 57


« Reply #6 on: Wednesday 02 October 2013, 05:44:22 pm »

Hi,

You must insert the refresh_patterns under the section of the squid.conf.tmpl that starts with #cache settings. It should be around line 264 or so.

If you insert these earlier, it will conflict with the auth mechanisms Endian has set up and cause issues.

Also check this link for more info:

wiki.squid-cache.org/ConfigExamples/DynamicContent/YouTube

Make sure your maximum object size is big enough to cache the  - As I mentioned in the refresh_pattern post if the size is too small, squid will discard it anyway. It may need to be over 1GB in order to save some of the .

Logged
saluto
Full Member
***
Offline Offline

Posts: 11


« Reply #7 on: Thursday 03 October 2013, 06:21:31 am »

Using the translator.

I need a recipe, because until now was unable to cache video, someone managed?

Use the Endian 2.5.2
Logged
kieronrob
Full Member
***
Offline Offline

Gender: Male
Posts: 57


« Reply #8 on: Friday 04 October 2013, 03:49:03 pm »

I don't think this is going to be achieved on the current version of Squid in Endian as it stands.

There are a lot of tips for doing it on the web, search for "cache youtube squid" and see the results.

As I said earlier, unless the same video is being requested by a lot of people you are not going to see much benefit from this.

I am more interested in caching updates and other more common traffic so on so I am not putting much effort into youtube caching.
Logged
Pages: [1] Go Up Print 
« previous next »
Jump to:  

Page created in 0.094 seconds with 19 queries.
Powered by SMF 1.1 RC2 | SMF © 2001-2005, Lewis Media Design by 7dana.com