Switch to full style
Use this forum to post questions relating to WinGate, feature requests, technical or configuration problems
Post a reply

Caching of youtube

Dec 29 13 5:00 am

Hi, just wondering, is there is a way to force the caching of Youtube videos so that once a video has been loaded, that video does not need to be grabbed from the internet again?

Re: Caching of youtube

Dec 29 13 1:47 pm

Hi

that's a fairly tricky one, since youtube seem to go to fairly extensive lengths to prevent caching of videos, presumably so they can maintain accurate hit counters on the videos themselves.

This involves doing things like using javascript to load the video from within a page, with some sort of randomizing function, to make sure the URL requested is always different even for the same video. This frustrates cache indexes based on URL (which most are).

They do change their approach sometimes though, so it could be worth while looking further into it. WinGate's cache rules allow quite a few things to be forced, and also the flow-chart policy can do things like alter the effective URL, or headers etc in order to alter the index for the cache. So it may be possible, we'd need to take another look at it.

Regards

Adrien
Post a reply