title: Laravel caching - too much caching, what is good practice?
body: <p>I'd like to know if this is a good practice.</p>
  
  <p>I have documents -> those documents have a document type -> that document type has some tabs and properties -> those properties have a data type and a value. So I have 7 tables that I need to query to gain all data needed. Also having some other queries here and there. On one page I had 11 queries. I think way too many.</p>
  
  <p>Is it a good practice to cache each document (there can be 1000s of documents)?</p>
  
  <pre><code> return Cache::rememberForever('documents_'.$id, function() use ($id) {
          return $this-&gt;document-&gt;where('document_id', $id)
              -&gt;with(array('documentType.properties', 'values', 'documentType.tabs'))
              -&gt;first();
      });
  </code></pre>
  
  <p>And on saving that document I'm clearing cache of that specific document.
  This works fine and save a lot of queries, but is it bad to have such a large cache and why?</p>