Community discussions

MikroTik App
 
jerick
just joined
Topic Author
Posts: 2
Joined: Thu Oct 28, 2010 1:23 am

MikroTik Proxy Cache and HTML5 Videos

Wed Aug 31, 2011 3:18 am

Good day! I've configured MikroTik Web proxy and I encountered issues caching HTML5 videos. One thing I noticed, the web server is returning a 206 Partial Content which does not save the video to the proxy cache. Downloading the video file directly using wget caches the video to the proxy cache but after using the browser(Safari/Chrome) again to stream the video using HTML5 video tag, MikroTik removes the video file from the proxy cache! Any ideas? Thanks!
 
User avatar
normis
MikroTik Support
MikroTik Support
Posts: 26815
Joined: Fri May 28, 2004 11:04 am
Location: Riga, Latvia
Contact:

Re: MikroTik Proxy Cache and HTML5 Videos

Wed Aug 31, 2011 9:47 am

Could you clarify what you mean by html5 videos? html5 specification allows for embedding of mp4, ogv and webm video files. they are regular video files which can be cached as any other large file.
 
jerick
just joined
Topic Author
Posts: 2
Joined: Thu Oct 28, 2010 1:23 am

Re: MikroTik Proxy Cache and HTML5 Videos

Wed Aug 31, 2011 11:03 am

Hi Normis! I'm talking about embedded videos using HTML5 video tag. Browsers like Chrome or Safari sends a byte-range GET request to the web server so the video data is sent to the browser through series of 206 Partial Content responses and MikroTik does not cache the video. If the video file is fetched using the regular GET request, the web server sends a 200 OK response with the full content, and the video file is cached. Is there a way to cache video files delivered as partial contents to the clients with MikroTik web proxy?
 
User avatar
normis
MikroTik Support
MikroTik Support
Posts: 26815
Joined: Fri May 28, 2004 11:04 am
Location: Riga, Latvia
Contact:

Re: MikroTik Proxy Cache and HTML5 Videos

Wed Aug 31, 2011 11:15 am

Thanks for clarification! I have no idea. If you have tested this, and found that it doesn't cache them, we need to look into it, and make support for this type of file transfer. Send this request to support so it doesn't get lost in the forum.
 
User avatar
jaxx
just joined
Posts: 11
Joined: Thu Jun 25, 2009 5:16 pm
Location: Paris, France
Contact:

Re: MikroTik Proxy Cache and HTML5 Videos

Mon Jun 04, 2012 1:23 pm

I'm having the exact same issue actually... looks like Partial-Content requests get cancelled by the proxy

On http://bb.things.im/ (end server being at the other end of a bonded tunnel at home over fiber, proxy ROS on a VM in a facility)
No way to access http://bb.things.im/timelapse/timelapse.mp4

Not that it's urgent and needing a support ticket for me, but if you ever give it a look, it would be cool...

Who is online

Users browsing this forum: bananaboy1101, Google [Bot], johnymalina, jvanhambelgium and 43 guests