Small caching playground for Ruby on Rails

Kevin McCarthy
1 min readSep 22, 2019

--

TL:DR Have a play with caching by following the instructions at https://github.com/kevinpmcc/blog

The way I learned about fragment caching was to build the simplest possible example and go from there. So I thought I’d share this example with you so you could have a go at caching things and finding all the pitfalls that come with it. The rails guide https://guides.rubyonrails.org/caching_with_rails.html#fragment-caching has excellent examples which will help guide you through this.

Any questions or comments on it please do reach out to me on twitter https://twitter.com/kevinpmcc

Happy caching

--

--

No responses yet