Hi Mark, <br><br><div class="gmail_quote">On Tue, Sep 4, 2012 at 9:08 PM, <span dir="ltr"><<a href="mailto:smsmail@roadrunner.com" target="_blank">smsmail@roadrunner.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
I have a server running Ubuntu, Apache2, Drupal 7, Varnish. I have a PHP RESTful API that I run on this computer that takes search requests from the API request and then returns the data from the drupal database in a JSON format and shortly will be returning XML and HTML if requested. Right now I have varnish setup to pass on the API requests, should I let varnish cache the data? </blockquote>
<div><br></div><div>Yes.</div><div><br></div><div>You need to make sure that they are GET requests, though. </div></div><div><br></div>-- <br><img src="http://www.varnish-software.com/sites/default/files/varnishsoft_white_190x47.png"><div>
Per Buer<br>Phone: <a href="tel:%2B47%2021%2098%2092%2061" value="+4721989261" target="_blank">+47 21 98 92 61</a> / Mobile: <a href="tel:%2B47%20958%2039%20117" value="+4795839117" target="_blank">+47 958 39 117</a> / Skype: per.buer<br>
<i>Varnish makes websites fly!</i><div><a href="http://www.varnish-software.com/whitepapers" target="_blank">Whitepapers</a> | <a href="http://www.youtube.com/watch?v=x7t2Sp174eI" target="_blank">Video</a> | <a href="https://twitter.com/varnishsoftware" target="_blank">Twitter</a> <br>
<br></div></div><br>