Caching servers in Local ISPs !!

shahzaib shahzaib shahzaib.cb at gmail.com
Tue May 27 13:27:39 UTC 2014


Hello itpp,

           the Local caching server is nothing but a proxy server which
will route all traffic from asia to origin server and will cache the
requested file in /data/nginx/cache folder. So when the request made again,
it'll be served from cache.

>>I'm not seeing where you determine if a file is present on an edge system,
Edge system will route request for new file to origin server and will cache
the resulted file to edge server,so  when the new request for same file
will arrive, nginx edge server will serve it from /data/nginx/cache folder.

I did experiment on locally and by checking the logs, i think its working .
I got hint from following link :

http://nginx.com/resources/admin-guide/caching/



On Tue, May 27, 2014 at 6:00 PM, itpp2012 <nginx-forum at nginx.us> wrote:

> I'm not seeing where you determine if a file is present on an edge system,
> the try_files directive allows you to redirect or not (locally present or
> not). I don't really see a point for using (proxy)cache, the file is
> present
> or it is not.
>
> location / {
> try_files $uri @getfrom_origin;
> }
>
> location @getfrom_origin {
> proxy_pass ......;
> }
>
> Posted at Nginx Forum:
> http://forum.nginx.org/read.php?2,249997,250393#msg-250393
>
> _______________________________________________
> nginx mailing list
> nginx at nginx.org
> http://mailman.nginx.org/mailman/listinfo/nginx
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.nginx.org/pipermail/nginx/attachments/20140527/4b8ee9d7/attachment.html>


More information about the nginx mailing list