Discussion:
[squid-users] Caching Vimeo Videos
Raju M K
2018-11-30 10:05:49 UTC
Permalink
Need help on how to cache Vimeo videos under squid proxy.
--
Regards,
M K Raju.
Antony Stone
2018-11-30 10:19:37 UTC
Permalink
Post by Raju M K
Need help on how to cache Vimeo videos under squid proxy.
Need info on what you tried already and how you identified it didn't work.

Antony.
--
Ramdisk is not an installation procedure.

Please reply to the list;
please *don't* CC me.
e***@ngtech.co.il
2018-11-30 10:22:42 UTC
Permalink
Hey,



There are two types of streams on Vimeo:

* Simple mp4 files
* HLS Dash streams



Example of links to mp4 files:

https://03-lvl3-pdl.vimeocdn.com/01/2370/1/36854018/84618512.mp4?expires=1543576693&token=x

https://03-lvl3-pdl.vimeocdn.com/01/2370/1/36854018/84618512.mp4?expires=1543576764 <https://03-lvl3-pdl.vimeocdn.com/01/2370/1/36854018/84618512.mp4?expires=1543576764&token=x> &token=x



These are almost static.

The HLS Dash streams needs more research which would look something like this:



Audio:

https://112skyfiregce-vimeo.akamaized.net/exp=1543576796~acl=%2F300817511%2F%2A~hmac=xyzh-mac1/300817511/sep/video/1152319175,1152319182,1152319179,1152319178,1152319177,1152319176/dash-audio.mp4





https://112skyfiregce-vimeo.akamaized.net/exp=1543576796~acl=%2F300817511%2F%2A~hmac=xyzh-mac1/300817511/sep/video/1152319175,1152319182,1152319179,1152319178,1152319177,1152319176/dash-audio.mp4





Video:



https://112skyfiregce-vimeo.akamaized.net/exp=1543576796~acl=%2F300817511%2F%2A~hmac=xyzh-mac1/300817511/sep/video/1152319175,1152319182,1152319179,1152319178,1152319177,1152319176/dash-video.mp4



PNG:



Loading Image... <Loading Image...> &src1=Loading Image...



From what I remember some of Vimeo videos have a download link on the video page.

To cache some of them you would need SSL-BUMP and a simple StoreID helper hat will unify the domains and the file name without some or all the query terms of the request URL.

I might be able to write an example but only in a week or more.



All The Bests,

Eliezer



----

<http://ngtech.co.il/lmgtfy/> Eliezer Croitoru
Linux System Administrator
Mobile: +972-5-28704261
Email: <mailto:***@ngtech.co.il> ***@ngtech.co.il





From: squid-users <squid-users-***@lists.squid-cache.org> On Behalf Of Raju M K
Sent: Friday, November 30, 2018 12:06
To: squid-***@lists.squid-cache.org
Subject: [squid-users] Caching Vimeo Videos



Need help on how to cache Vimeo videos under squid proxy.
--
Regards,
M K Raju.
Loading...