nginx + caching of static files
pchychi at gmail.com
Tue Apr 7 09:14:36 MSD 2009
I was hoping someone could point out a document where it can teach me
how to setup nginx + caching. I know that traditionally nginx did not
have a native caching and it required you to run ncache or cachemem in
order to perform caching of static content... but does nginx now allow
basic static file caching without the use of any other 3rd app?
Im trying to understand if nginx now has a native caching which would
allow caching of static content. I dont want to get fancy in anyway, I
simply want to allocate say 200mb of storage space to allow caching of
static content. the 200mb should be updated with the most
active/recently seen file request.
reason? im trying to allow nginx to serve the static files from disk
(if it has seen it previously) and not have to go back to the origin
server every single time.
More information about the nginx