[squid-users] Force Video content caching?

From: Joshua B. <jman017_at_linkstechblog.com>
Date: Mon, 21 Apr 2014 15:51:33 +0100

+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=*
Security: Proprietary
+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=*
I've been thinking lately. Would it be possible to ensure the 100% cacheability of video content? By configuring Squid in a certain way.
So, for example. I could have Squid cache this:
1398090836.712 6635 10.0.11.2 TCP_MISS/200 2030510 GET http://s5.videofun.me/videos/ongoing/naruto_shippuuden_-_360pv.mp4?gtw=1&st=m9nTi2Fx1pZ9OguDwrAhVw&e=1398098043&server=videofun - HIER_DIRECT/198.105.219.156 video/mp4
Completely regardless of the ? and everything after it. So the video content is cached, no matter what. I personally believe this could be a huge bandwidth saver, especially if there's people on your network who watch a lot of anime online.
I've been struggling lately to get content with a ? in it to cache. Even if it may appear to be dynamic, the same content is really the same, regardless how much the rest of the url changes.

So my question is, is there any possibility to ensure that such content (with a ? in the url) gets cached, no matter what?
I have no concerns over the proxies disk space being used for this, as that is exactly what I want. I want the content to be cached, and stored for at least 1 week (if possible, and if it's not viewed again) before expiring it.
My Squid version is: 3.3.1

The current refresh patterns I have now are here:
http://pastebin.com/pEdkuyRJ

I would greatly appreciate your help :)

 
Received on Mon Apr 21 2014 - 14:51:48 MDT

This archive was generated by hypermail 2.2.0 : Mon Apr 21 2014 - 12:00:06 MDT