How to use fastcgi_cache_methods


#1

how to use fastcgi_cache_methods ??


#2

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


#3

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";