Articles by Thomas Reeves
February 6 2024
Caching and where it can go wrong
Rails Caching is a powerful tool to speed up your application. It works by caching the result and allowing the next request to skip the work of generating the result. This can be a huge performance boost, but it can also cause problems if not used correctly. For Sites, we use Fragment Caching, SQL Caching, and Low-Level Caching. We also have a few custom caching solutions that we use. In this post, we will go over how caching works, how to test caching, and some of the problems we have encountered.