nginx simple caching solutions

Ian M. Evans ianevans at
Wed Aug 1 04:24:12 UTC 2012

I was Googling around for some simple page caching solutions (say, cache
pages for 5 minutes, exclude certain directories) and came across Google
results for varnish, memcached, using nginx as a reverse proxy for apache,

My Googling didn't find a method for nginx caching itself, though my
coffee-deficient brain thinks that might still involve using the proxy
directives to point to itself. I dunno, hence the question.

I'm just looking for a way to speed up some dynamic pages that don't have
personalization and can basically be static for a few minutes. Dedicated
erver has 2 gig RAM and runs nginx, php-fpm, mysql 5 and a qmail server.

Any thoughts or config example links? Thanks.

More information about the nginx mailing list