performance - How to configure NGINX with Memcached to serve HTML -
i'm trying configure nginx memcached serve html
i found following memcached module nginx:
http://wiki.nginx.org/nginxhttpmemcachedmodule
but can't seem nginx serve html (e.g. index.html) files memcached reading tutorial above.
anyone know nginx config should bet serve html memcached?
to use memcached nginx need populate memcached right key/value pairs. need @fallback location work you.
when matching request comes in, nginx query memcached whatever set $memcache_key to. if value found sent browser. if not fallback location invokes backend system 2 things:
generate response , send browser.
send response memcached , set appropriate key/value pair.
the next time request comes in same key in memcached , served directly there.
Comments
Post a Comment