Nginx, memcached and cakephp: memcached module always misses cache
- by Tim
I've got a simple nginx configuration;
server{
servername localhost;
root /var/www/webroot;
location / {
set $memcached_key $uri;
index index.php index.html;
try_files $uri $uri/ @cache;
}
location @cache {
memcached_pass localhost:11211;
default_type text/html;
error_page 404 @fallback;
}
location…