Nginx, static files and local caching
Glen Lumanau
glen at lumanau.web.id
Fri Feb 12 07:06:49 MSK 2010
Sorry my mistake.. please ignore the previous email.. it seems to be working
:)
Is there any way I can if user is accessing my cache file?
-----Original Message-----
From: Glen Lumanau [mailto:glen at lumanau.web.id]
Sent: 12 Februari 2010 10:58
To: 'nginx at nginx.org'
Subject: RE: Nginx, static files and local caching
Here's my config
http {
slowfs_cache_path /data/cache levels=1:2 keys_zone=fastcache:10m;
slowfs_temp_path /data/temp 1 2;
.....
server {
listen 80;
root /var/www;
location / {
slowfs_cache fastcache;
slowfs_cache_key $uri;
slowfs_cache_valid 1d;
}
location ~ /purge(/.*) {
allow 127.0.0.1;
deny all;
slowfs_cache_purge fastcache $1;
}
}
}
-----Original Message-----
From: Piotr Sikora [mailto:piotr.sikora at frickle.com]
Sent: 11 Februari 2010 22:20
To: nginx at nginx.org
Subject: Re: Nginx, static files and local caching
Hi,
> I tried this module, but it seems the /tmp/nginx folder is always empty.
> Is
> there any i've missed?
I can't really answer that question without you posting your configuration.
Best regards,
Piotr Sikora < piotr.sikora at frickle.com >
_______________________________________________
nginx mailing list
nginx at nginx.org
http://nginx.org/mailman/listinfo/nginx
More information about the nginx
mailing list