4 messages in ru.sysoev.nginxproxy with caching functionality
FromSent OnAttachments
Martin MinkaMay 10, 2007 1:35 am 
RoxisMay 10, 2007 2:34 am 
Evan MillerMay 10, 2007 9:55 am 
Igor SysoevMay 10, 2007 3:15 pm 
Actions with this message:
Paste this link in email or IM:
Paste this link in email or IM:
Atom feed for this thread
Paste this URL into your reader:
Subject:proxy with caching functionalityActions...
From:Martin Minka (mart@public.gmane.org)
Date:May 10, 2007 1:35:08 am
List:ru.sysoev.nginx

I have question about caching functionality in nginx.

The purpose is to use nginx on local server to speed up responses from <remote server>. 1. Will the following configuation cache static content from <remote server> for 5d ? 2. Where will the cached content be stored ? Directory ../nginx/proxy_temp is always empty.

location ~* ^.+.(jpg|jpeg|gif|png|ico|zip|tgz|gz|rar|bz2|css|doc|xls|exe|pdf|ppt|txt|tar |mid|midi|wav|bmp|rtf|js|swf|xml)$ { include conf/mime.types; proxy_pass http:// <http://<remote server>> <remote server>; proxy_redirect off; access_log logs/access.static.log; expires 5d; }