agentzh
September 22, 2011 05:46AM
On Thu, Sep 22, 2011 at 5:25 PM, lys0212 <nginx-forum@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

_______________________________________________
nginx mailing list
nginx@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx
Subject Author Posted

nginx use memc

lys0212 September 22, 2011 05:25AM

Re: nginx use memc

agentzh September 22, 2011 05:46AM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 238
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready