Welcome! Log In Create A New Profile


Re: Combining proxy_store and proxy_cache values !!

Roman Arutyunyan
August 27, 2014 01:20PM

On 27 Aug 2014, at 16:21, shahzaib shahzaib <shahzaib.cb@gmail.com> wrote:

> Hi,
> I am using proxy_store on edge server to replicate mp4 files from origin server when user request for the video file. The reason i am not using proxy_cache is, when user seeks through the mp4 video,proxy_cache keeps on downloading whole video file with different Keys if multiple users accessing single video with different cache Keys i.e
> http://file.video.com?start=32
> http://file.video.com?start=54

The mp4 module does not work with the nginx cache.
You can either proxy the mp4 module output from the backend
or serve the entire cached mp4 file without using the mp4 module.

> The problem with proxy_store is, its not much flexible as proxy_cache has different variables to adjust and most useful is proxy_cache_min_use.
> I need proxy_store to check for requested file and if file is requested first time it should be serve from origin server instead of downloading the whole file. Can i use some option like proxy_cache_min_use for proxy_store ? If not, is there some other way for it ?
When you use proxy_cache_min_uses an empty cache entry is created
in memory which holds the counter. With proxy_store there’s nothing
like that. Nginx just saves the input to a file. It looks like
there’s no easy way to do what you want.
nginx mailing list
Subject Author Posted

Combining proxy_store and proxy_cache values !!

shahzaib1232 August 27, 2014 08:22AM

Re: Combining proxy_store and proxy_cache values !!

Roman Arutyunyan August 27, 2014 01:20PM

Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 47
Record Number of Users: 6 on February 13, 2018
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready