Download full mp4 file with proxy_cache or proxy_store !!

Lukas Tribus luky-37 at hotmail.com
Sat Jun 21 07:10:38 UTC 2014


Hi,


> @Lukas, we're using nginx-1.6 and byte range caching is already enabled  
> by default(i guess). Below is the curl request :- 
>  
>   curl -H Range:bytes=16- -I  
> http://videos.files.com/files/videos/2014/06/20/14032606291de19-360.mp4 
> HTTP/1.1 206 Partial Content 
> Server: nginx 
> Date: Fri, 20 Jun 2014 13:36:05 GMT 
> Content-Type: video/mp4 
> Content-Length: 25446010 
> Connection: keep-alive 
> Last-Modified: Fri, 20 Jun 2014 11:04:11 GMT 
> ETag: "53a4152b-184468a" 
> Expires: Fri, 27 Jun 2014 13:36:05 GMT 
> Cache-Control: max-age=604800 
> X-Cache-Status: HIT 
> Content-Range: bytes 16-25446025/25446026 
>  
> Could you tell me how can i check using curl that if nginx downloading  
> the whole file each time the user seek the video with mp4 psuedo  
> module  i.e http://url/files/videos/test-360.mp4?start=39.

Check the Content-Length header in the response.


Regards,

Lukas

 		 	   		  


More information about the nginx mailing list