4 ms·It's been a while since I used Rails, but think the fragment cache does this "out of the box."by jelder 8y agoIt's been a while since I used Rails, but think the fragment cache does this "out of the box."