title: JSON Object caching in Sinatra
body: <p>I have a Sinatra app in which I want to implement some caching. After the user logs in, there are about 200 DB calls to build a JSON object of things to be shown to the user, before he sees the page. That is making the performance go down quite a lot in case multiple users log in simultaneously. </p>
  
  <p>I thought of using Redis, Memcachier or something similar to cache the object, and use the cache object in subsequent requests (<a href="https://stackoverflow.com/questions/8486596/best-way-to-cache-a-response-in-sinatra">something like this</a>), but my teammates are not very keen on using third party services.</p>
  
  <p>Is there something I can do on my own server to implement caching?</p>