nginx simple caching solutions
António P. P. Almeida
appa at perusio.net
Wed Aug 1 06:54:05 UTC 2012
If you want to cache PHP generated pages then just use the FCGI cache. http://nginx.org/en/docs/http/ngx_http_fastcgi_module.html#fastcgi_cache
"Ian M. Evans" <ianevans at digitalhit.com> a écrit :
>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.
>nginx mailing list
>nginx at nginx.org
More information about the nginx