Apache-Talk @lexa.ru 

Inet-Admins @info.east.ru 

Filmscanners @halftone.co.uk 

Security-alerts @yandex-team.ru 

nginx-ru @sysoev.ru 


   


   


   















      :: nginx-ru
Nginx-ru mailing list archive (nginx-ru@sysoev.ru)

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

proxy-cache memcached?


  • To: nginx-ru@xxxxxxxxx
  • Subject: proxy-cache memcached?
  • From: Eugene Batogov <johnbat26@xxxxxxxxx>
  • Date: Wed, 13 Jun 2012 15:34:38 +0400
  • Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:date:message-id:subject:from:to:content-type; bh=rUuE6yxd56Ot25TpXJt0tOGxyoEtlOe37tFxwPWfRxY=; b=qTtMpXIZreheWZAB/175uwFz/cdq4l36EPzcUDoJblvZf9h2SRlT935vJD4N3LfqLF whh7EmX5GrP71f9wq9WLXmgJ9Wize3+ygNVw3ley9pARMD7IIQ4+u2FMjzr/o/O4YBYs Tq/+7o0Juwmk7BBzP9o3TyFizhhX5zygiKXF3KUQu+d0X3aNGCkEhcNAaL++YmLqjOoJ eChhAgc4Uz2N7V3QjoRM8f+/ae4ISx6l/jNVCNQDOlgx1XhhJz36DXdGof7UkYm5vUdq WVkaMBch2ZuQT7qIsXChf6qyHpuLU/D6FziN3DQrs81zkKmpJN20L4/ZdHDaRPhngXxq wd5w==

.
.
, memcached.
nginx location:
....
location /images/ {
add_header Cache-Control no-cache;
add_header Content-Type image/jpeg;
default_type image/jpeg;

recursive_error_pages on;
set $memcached_key "$uri";
memcached_pass memcached_cluster;
error_page 404 502 504 = @fallback;
}

location @fallback {
proxy_pass http://127.0.0.1:8080;
root /usr/share/nginx/html;
index index.html index.htm;
}

...
:
, memcached , nginx ?
: proxy_cache ?
memcached ?


_______________________________________________
nginx-ru mailing list
nginx-ru@xxxxxxxxx
http://mailman.nginx.org/mailman/listinfo/nginx-ru


 




Copyright © Lexa Software, 1996-2009.