Nginx, static files and local caching

Glen Lumanau glen at
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] 
Sent: 12 Februari 2010 10:58
To: 'nginx at'
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     ;
            deny                all;
            slowfs_cache_purge  fastcache $1;


-----Original Message-----
From: Piotr Sikora [mailto:piotr.sikora at] 
Sent: 11 Februari 2010 22:20
To: nginx at
Subject: Re: Nginx, static files and local caching


> 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 >

nginx mailing list
nginx at

More information about the nginx mailing list