[squid-users] Caching Vimeo Videos
eliezer at ngtech.co.il
eliezer at ngtech.co.il
Fri Nov 30 10:22:42 UTC 2018
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:
https://i.vimeocdn.com/filter/overlay?src0=https%3A%2F%2Fi.vimeocdn.com%2Fvideo%2F252937377_1280x960.jpg <https://i.vimeocdn.com/filter/overlay?src0=https%3A%2F%2Fi.vimeocdn.com%2Fvideo%2F252937377_1280x960.jpg&src1=https%3A%2F%2Ff.vimeocdn.com%2Fimages_v6%2Fshare%2Fplay_icon_overlay.png> &src1=https%3A%2F%2Ff.vimeocdn.com%2Fimages_v6%2Fshare%2Fplay_icon_overlay.png
>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:eliezer at ngtech.co.il> eliezer at ngtech.co.il
From: squid-users <squid-users-bounces at lists.squid-cache.org> On Behalf Of Raju M K
Sent: Friday, November 30, 2018 12:06
To: squid-users at 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.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.squid-cache.org/pipermail/squid-users/attachments/20181130/c9fd10f4/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image001.png
Type: image/png
Size: 11295 bytes
Desc: not available
URL: <http://lists.squid-cache.org/pipermail/squid-users/attachments/20181130/c9fd10f4/attachment-0001.png>
More information about the squid-users
mailing list