Or just, you know, cache it correctly.<p>@OP there&#x27;s a more DHH way of caching, but these will serve you well in the meantime: <a href="https:&#x2F;&#x2F;github.com&#x2F;rails&#x2F;actionpack-page_caching" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;rails&#x2F;actionpack-page_caching</a> and <a href="https:&#x2F;&#x2F;github.com&#x2F;rails&#x2F;actionpack-action_caching" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;rails&#x2F;actionpack-action_caching</a>