title: REST API caching, should I use a Reverse proxy or memcache(d)?
body: <p>I have a REST API where I would like to cache the JSON response of the index (GET /foo) and the read actions (GET /foo/1) to significantly increase the performance. When there is a POST or a PUT on a resource the cache entries for the index and read results need to be expired, so no old content is served.</p>
  
  <p>Is this a scenario that's best done with a Reverse proxy like Squid / Varnish or would you choose memcache(d)?</p>