Forum: Ruby on Rails Fragment caching with touch (2.3.5)

Announcement (2017-05-07): www.ruby-forum.com is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see rubyonrails.org/community and ruby-lang.org/en/community for other Rails- und Ruby-related community platforms.
E46593732261d73ee99adc380b7f767a?d=identicon&s=25 Greg Ma (gregorylepacha)
on 2010-10-29 09:48
Hi,
I am working on an ecommerce shop. Currently we cache all the product
thumbs using fragment caching with the product key and we expire the
cache using Touch.

<% cache product do %>
...
<% end %>

Now if I want to cache the product page, what key do I have to choose
considering that I am already using the product key. And if I don't the
product how am going to be able to expire the cache with touch?

Greg
This topic is locked and can not be replied to.