Forum: NGINX how to use fastcgi_cache_methods

Announcement (2017-05-07): www.ruby-forum.com is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see rubyonrails.org/community and ruby-lang.org/en/community for other Rails- und Ruby-related community platforms.
Big B. (Guest)
on 2009-05-30 03:58
how to use fastcgi_cache_methods ??
merlin corey (Guest)
on 2009-05-30 04:51
(Received via mailing list)
If I recall correctly, that just sets up whether you will support GET
and
POST.  I could be mistaken, however...
Igor S. (Guest)
on 2009-05-30 08: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.