how to use fastcgi_cache_methods

Igor Sysoev is at rambler-co.ru
Sat May 30 08:39:08 MSD 2009


On Sat, May 30, 2009 at 01:58:51AM +0200, Big Bet wrote:

> how to use fastcgi_cache_methods ??

It allows to cache smal POST requests:

    client_max_body_size         1k;
    client_body_buffer_size      1k;
    client_body_in_single_buffer on;

    fastcgi_cache_methods  POST;
    fastcgi_cache          zone;
    fastcgi_cache_key      "backend$request_uri $request_body";


-- 
Igor Sysoev
http://sysoev.ru/en/





More information about the nginx mailing list