---
title: "Comment by Butler Lily on \"Rails: How to improve Rails performance with the Russian doll caching technique? [Part II - Theory]\" | Hashnode"
description: "Each product can have many versions, allowing for the sale of various colors of the same item, for example. Each product that is for sale, as well as all of its"
url: "https://hashnode.com/posts/rails-how-to-improve-rails-performance-with-the-russian-doll-caching-technique-part-ii/643cbb8e3eff8645e4f62e6f/comment/64646c51bb615ac11d995829"
---

[Discussion](https://hashnode.com/posts/rails-how-to-improve-rails-performance-with-the-russian-doll-caching-technique-part-ii/643cbb8e3eff8645e4f62e6f)

Comment [Rails: How to improve Rails performance with the Russian doll caching technique? \[Part II - Theory\]](https://hashnode.com/posts/rails-how-to-improve-rails-performance-with-the-russian-doll-caching-technique-part-ii/643cbb8e3eff8645e4f62e6f)

[Butler Lily](https://hashnode.com/@carolng)

[May 17, 2023](https://hashnode.com/posts/rails-how-to-improve-rails-performance-with-the-russian-doll-caching-technique-part-ii/643cbb8e3eff8645e4f62e6f/comment/64646c51bb615ac11d995829)

Each product can have many versions, allowing for the sale of various colors of the same item, for example. Each product that is for sale, as well as all of its versions, will be included on the index.

[Alexandre Calaça](https://hashnode.com/@alexandrecalaca)

[May 17, 2023](https://hashnode.com/posts/rails-how-to-improve-rails-performance-with-the-russian-doll-caching-technique-part-ii/643cbb8e3eff8645e4f62e6f/comment/64646c51bb615ac11d995829#reply-6464adc3a2c49bc61afe452e)

It can be applied there too.
