Forum: NGINX how to use fastcgi_cache_methods

Announcement (2017-05-07): is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see and for other Rails- und Ruby-related community platforms.
2dac4384238ef183a10fadf10ed6968c?d=identicon&s=25 Big Bet (bigbet)
on 2009-05-30 01:58
how to use fastcgi_cache_methods ??
4047860c1dcc8eb044b647ba4ecda617?d=identicon&s=25 merlin corey (Guest)
on 2009-05-30 02:51
(Received via mailing list)
If I recall correctly, that just sets up whether you will support GET
POST.  I could be mistaken, however...
5640e332954fc0006aea97a155ce0afd?d=identicon&s=25 Igor Sysoev (Guest)
on 2009-05-30 06:56
(Received via mailing list)
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";
This topic is locked and can not be replied to.