nginx simple caching solutions

姚伟斌 nbubingo at gmail.com
Wed Aug 1 04:32:33 UTC 2012


Have you tried the proxy_cache?
http://nginx.org/en/docs/http/ngx_http_proxy_module.html#proxy_cache

2012/8/1 Ian M. Evans <ianevans at digitalhit.com>:
> 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,
> etc.
>
> 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
> http://mailman.nginx.org/mailman/listinfo/nginx



More information about the nginx mailing list