No, it's just that in the default configuration, varnish will not cache POST request.

In Varnish 3 --

   if (req.request != "GET" &&
                    req.request != "HEAD" &&
                    req.request != "PUT" &&
                    req.request != "POST" &&
                    req.request != "TRACE" &&
                    req.request != "OPTIONS" &&
                    req.request != "DELETE") {
                      /* Non-RFC2616 or CONNECT which is weird. */
                      return (pipe);
                  }

This's the default config.


On 10/18/15 16:27, Miguel González wrote:
Dear all,

   I have Varnish 4 in front of an Apache (Cpanel) hosting several
websites running Wordpress.

   Everything works fine, but there are Wordpress plugins that perform
POST resquests. I´ve seen various messages that in previous versions of
Varnish you couldn´t cache POST responses (which you can do with Nginx).

   I don´t want to overcomplicate things and put Nginx between Varnish
and Apache (I don´t want to miss the security side that Apache offers)
and I was wondering if that has been solved in the newers versions of
Varnish.

   Regards,

   Miguel

_______________________________________________
varnish-misc mailing list
[email protected]
https://www.varnish-cache.org/lists/mailman/listinfo/varnish-misc

_______________________________________________
varnish-misc mailing list
[email protected]
https://www.varnish-cache.org/lists/mailman/listinfo/varnish-misc

Reply via email to