LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices


Reply
  Search this Thread
Old 09-11-2014, 05:10 PM   #1
bkone
Member
 
Registered: Jun 2006
Distribution: SUSE, Red Hat, Oracle Linux, CentOS
Posts: 108

Rep: Reputation: 15
squid cache flv files


I have encountered an issue with squid and the way it is handling flv videos. Well, really it appears to be an issue with the media players and maybe not squid.

Anyways, I notice that when I hit a url for a flv file I appear to always download the flv from the squid cache. BUT, when I play the video on one machine and a web-based player plays the file it appears to purge the file from the local squid cache. So, when the next person hits the same file from the URL the result is a MISS.

Is there a way for squid to never refresh flv files? The flv files that most users will access will never change. I don't want squid to release the file but have it always present.
 
Old 12-17-2014, 05:29 PM   #2
Stakres
LQ Newbie
 
Registered: Dec 2014
Posts: 1

Rep: Reputation: Disabled
Hi Bkone,
That's normal because the browser will keep in its cache the video, the second person on another browser will watch the same video but not from your own browser cache.
Squid is not able to keep objects coming from CDNs like YouTube or URLs with '?' char.
To cache videos, images, etc... from CDN URLs, you should use a plugin that'll do the job for you.
You can try the SquidVideoBooster taking care 600+ websites including YouTube, DailyMotion, NetFlix, etc...

Link: https://sourceforge.net/projects/squidvideosbooster/
Compatible Squid 2.7, 3.4 and 3.5.

Download this plugin and test, you'll see if it fits your needs ;o)

Bye Fred
 
  


Reply



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
squid cache big files. Xerop Linux - Server 3 05-03-2013 11:08 AM
[SOLVED] Firefox Cache for flv files salmanal Linux Mint 6 11-30-2010 08:45 PM
Using Active directory Authentication of parent non-squid cache to child squid cache espiya7 Linux - Server 0 05-05-2009 08:04 AM
How to make squid cache some files syncat Linux - Networking 1 03-10-2005 05:32 PM
viewing squid cache files!! katana Linux - General 0 08-14-2001 06:52 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 09:54 AM.

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