nginx use memc
agentzh
agentzh at gmail.com
Thu Sep 22 09:44:43 UTC 2011
On Thu, Sep 22, 2011 at 5:25 PM, lys0212 <nginx-forum at nginx.us> wrote:
> Hello!
> Encountered in the use of memc such a problem, I do not know how to
> solve. In the nginx configuration file and php file using memc, can be
> normal cache. However, if the cache of php file include jump statement,
> such as @header, then jump failure. How to solve this problem?
Please do not abuse the error_page directive with ngx_memc to do
response caching; it's problematic. I suggest you take a look at the
ngx_srcache module which can serve as a generic cache layer and can be
used safely with backend storage modules like ngx_memc:
http://wiki.nginx.org/HttpSRCacheModule
Regards,
-agentzh
More information about the nginx
mailing list