<span style="color:navy">I thoroughly disagree with this use of HTTP.  If a request makes an impact on a system, then it should use POST (eg login, pay, delete).  However, if it has no write-behaviour (other than, perhaps, logging) then it must be GET.<br><br>If you follow this, then varnish will work fine.<br><br>Can you explain more about your actions?   If you're using a processing server to build reports then GET should be fine.<br><br>Rtsh<br><br><span id="signature"><div style="font-family: arial, sans-serif; font-size: 12px;color: #999999;">-- Sent from my Palm Prē</div><br></span><hr align="left" style="width:75%">Rob Ayres wrote:<br><br><div class="gmail_quote">2009/11/6 Tollef Fog Heen <span dir="ltr"><<a href="mailto:tfheen@redpill-linpro.com">tfheen@redpill-linpro.com</a>></span><br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
]] Rob Ayres<br>
<div class="im"><br>
| I want to cache POSTs but can't get varnish to do it, is it possible? If it<br>
| makes it any easier, all requests through this cache will be of POST type.<br>
<br>
</div>No, you can't cache POSTs.  It doesn't make any sense to do so.<br>
<div class="im"><br></div></blockquote><div>We have a processing server and a database server. The processing server makes its requests to the database server by means of a POST. There is enough duplication in the POST requests to have made it worth having a caching server between the two. <br>
<br></div></div>
</span>