Welcome! Log In Create A New Profile

Advanced

RE: Nginx, static files and local caching

Glen Lumanau
February 11, 2010 11:12PM
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@lumanau.web.id]
Sent: 12 Februari 2010 10:58
To: 'nginx@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@frickle.com]
Sent: 11 Februari 2010 22:20
To: nginx@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@frickle.com >


_______________________________________________
nginx mailing list
nginx@nginx.org
http://nginx.org/mailman/listinfo/nginx


_______________________________________________
nginx mailing list
nginx@nginx.org
http://nginx.org/mailman/listinfo/nginx
Subject Author Posted

Nginx, static files and local caching

rkappert February 10, 2010 04:20AM

Re: Nginx, static files and local caching

Jérôme Loyet February 10, 2010 05:00AM

Re: Nginx, static files and local caching

Piotr Sikora February 10, 2010 10:18AM

Re: Nginx, static files and local caching

Chris Zimmerman February 10, 2010 11:06AM

Re: Nginx, static files and local caching

Piotr Sikora February 10, 2010 12:34PM

Re: Nginx, static files and local caching

Chris Zimmerman February 10, 2010 04:04PM

Re: Nginx, static files and local caching

Piotr Sikora February 10, 2010 04:22PM

RE: Nginx, static files and local caching

Glen Lumanau February 11, 2010 01:00AM

Re: Nginx, static files and local caching

Piotr Sikora February 11, 2010 10:26AM

RE: Nginx, static files and local caching

Glen Lumanau February 11, 2010 11:02PM

RE: Nginx, static files and local caching

Glen Lumanau February 11, 2010 11:12PM

Re: Nginx, static files and local caching

Piotr Sikora February 12, 2010 12:16AM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 335
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready