Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
tree: f13f7d8ce9
Fetching contributors…

Cannot retrieve contributors at this time

17 lines (13 sloc) 0.965 kb
# -*- mode: nginx; mode: flyspell-prog; ispell-local-dictionary: "american" -*-
### Defining the FastCGI cache zone for the microcache as presented at:
## http://fennb.com/microcaching-speed-your-app-up-250x-with-no-n.
## If youre using a Nginx version greater than 1.1.1 then you can
## tweak the Tweaking of the cache loader parameters.
## Cf. http://forum.nginx.org/read.php?21,213197,213209#msg-213209 for
## rationale. If you're using a Nginx version lower than 1.1.1 then
## comment the line below and use the cache zone configuration below this one.
#fastcgi_cache_path var/microcache levels=1:2 keys_zone=microcache:5M max_size=1G inactive=2h loader_threshold=2592000000 loader_sleep=1 loader_files=100000;
## If you're not using a Nginx version greater or equal to 1.1.1 then
## comment the above configuration and use this one. No cache loader
## tweaking.
fastcgi_cache_path var/microcache levels=1:2 keys_zone=microcache:5M max_size=1G inactive=2h;
Jump to Line
Something went wrong with that request. Please try again.