<html>
<head>
<meta content="text/html; charset=utf-8" http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
No, it's just that in the default configuration, varnish will not
cache POST request.<br>
<br>
In Varnish 3 --<br>
<blockquote>if (req.request != "GET" &&<br>
req.request != "HEAD" &&<br>
req.request != "PUT" &&<br>
req.request != "POST" &&<br>
req.request != "TRACE" &&<br>
req.request != "OPTIONS" &&<br>
req.request != "DELETE") {<br>
/* Non-RFC2616 or CONNECT which is weird. */<br>
return (pipe);<br>
}<br>
</blockquote>
This's the default config.<br>
<br>
<br>
<div class="moz-cite-prefix">On 10/18/15 16:27, Miguel González
wrote:<br>
</div>
<blockquote cite="mid:56237B33.9030904@yahoo.es" type="cite">
<pre wrap="">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
<a class="moz-txt-link-abbreviated" href="mailto:varnish-misc@varnish-cache.org">varnish-misc@varnish-cache.org</a>
<a class="moz-txt-link-freetext" href="https://www.varnish-cache.org/lists/mailman/listinfo/varnish-misc">https://www.varnish-cache.org/lists/mailman/listinfo/varnish-misc</a></pre>
</blockquote>
<br>
</body>
</html>