Can POST responses be cached using Souin?

@darkweak,

Is there a way to cache POST responses with Souin? I'm getting "hits" for GET requests, but for POST requests, I'm getting...

Cache-Status: mycache; fwd=request; fwd-status=200; key=POST-https-domain.com-/search/msearch; detail=REQUEST-REVALIDATION

I don't fully understand exactly what that means. I couldn't find anything in the docs, but it seems the request is just being forwarded to the upstream server instead of returning a cached response. Is that correct?

I realize in most situations, caching POST responses is not desirable, but is there any way to force it?

hey @shot, you can use the allowed_method configuration key

allowed_http_verbs: # Allowed HTTP verbs to cache (default GET, HEAD).
    - GET
    - POST
    - HEAD