title: Laravel cache remember forever
body: <p>I have this piece of code that I thought would remember cache forever:</p>
  
  
  
  <pre class="lang-php prettyprint-override"><code>$setting = \Cache::remember('website_description', 0,  function() {
    return App\Models\Setting::where('name', 'website_description')-&gt;first();
  });
  </code></pre>
  
  <p>But it doesn't remember at all, someone told me that passing <code>0</code> to remember function would make it remember forever. Since this doesn't work what other way can I put an item in cache forever?</p>