On Tue, Jul 17, 2012 at 9:46 PM, Belton Kwong wrote:
> I have been using your SetMore and SetMisc modules, and they are working pretty well! Appreciate your works.
Glad you like them :)
> And I recently installed your HttpMemcModule, attempting to use memcache to speed up response of certain pages.
> My case is a bit complicated, when the page is not memcached, I want it to be handled by some rewrite rules, headers manipulations and then get response from upstream servers, and finally write the results to memcache. If the memcache cache is found, then just simply return the cached contents.
I suggest you take a look at my ngx_srcache module:
It can be used with ngx_memc to serve as a transparent RFC-compliant
caching layer for arbitrary nginx locations.
> But I got 500 Internal Server Error when I call “set memcache”, could you kindly point me the direction to fix this?
Every time we see an unexpected error page, we should always take a
look at nginx's error log file, i.e., logs/error.log ;)
P.S. I'm cc'ing the openresty mailing list:
https://groups.google.com/group/openresty you're very welcome to join
the list ;)