Welcome! Log In Create A New Profile

Advanced

Merging two requests

Posted by julienmru 
Merging two requests
February 06, 2015 03:22AM
Dear all,

We have been using nginx as a reverse-caching-proxy for quite a time now and we face an issue.

We server big files (200MB+) and we sometimes have a traffic spike on the backend server because of multiple requests going to the backend to fetch the same file.

1) if we use proxy_cache_lock, what happens if we set the timeout quite high on the users' browsers? download does not start until the timeout is reached?
2) best scenario would be: how to make nginx use what it has already downloaded for the first request and pass it over the second request?

Thanks in advance for your feedback!
Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 305
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 500 on July 15, 2024
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready