how to use fastcgi_cache_methods

classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

how to use fastcgi_cache_methods

Andrii Balytskyi
how to use fastcgi_cache_methods ??
--
Posted via http://www.ruby-forum.com/.

Reply | Threaded
Open this post in threaded view
|

Re: how to use fastcgi_cache_methods

merlin corey
If I recall correctly, that just sets up whether you will support GET and POST.  I could be mistaken, however...

On Fri, May 29, 2009 at 4:58 PM, Big Bet <[hidden email]> wrote:
how to use fastcgi_cache_methods ??
--
Posted via http://www.ruby-forum.com/.


Reply | Threaded
Open this post in threaded view
|

Re: how to use fastcgi_cache_methods

Igor Sysoev
In reply to this post by Andrii Balytskyi
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/