excessive RAM consumption - memory leak
Igor Sysoev
is at rambler-co.ru
Thu Feb 21 01:52:01 MSK 2008
On Wed, Feb 20, 2008 at 11:47:29PM +0100, Todd HG wrote:
> eliott wrote:
> > You may try setting expires headers for your images, if they don't
> > change very often (or at all).
>
> I have added, but I'm not altogether sure if this is optimum:
>
> http {
> expires 24h;
> add_header Cache-Control private;
> server_tokens off;
If the images are public (not per client) you should set
expires 1M;
only to allow long caching in transit cache proxies.
"server_tokens off" simply turn off nginx version from "Server" header:
"Server: nginx" vs "Server: nginx/0.6.26".
--
Igor Sysoev
http://sysoev.ru/en/
More information about the nginx
mailing list