Nginx, static files and local caching

Glen Lumanau glen at
Thu Feb 11 08:56:43 MSK 2010

Hi Piotr,

I tried this module, but it seems the /tmp/nginx folder is always empty. Is
there any i've missed?

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

> Yes it should.

NFS cache is/was broken, so it's open discussion, but not exactly on topic.

> If it isn't your implementation is not working properly.

ngx_slowfs_cache isn't NFS implementation, it's caching mechanism.

> I can't disagree with this, It's use as a remote to local filesystem cache
> would be useful. Does it have stateful checks to determine if files are
> changed?

Like I said on IRC: it's cache by nginx definition (make local copy and 
serve it unconditionally until it expires), so no, it doesn't check if 
original file was modified.

Best regards,
Piotr Sikora < piotr.sikora at >

nginx mailing list
nginx at

More information about the nginx mailing list