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

E46593732261d73ee99adc380b7f767a?d=identicon&s=25 Greg Ma (gregorylepacha)
on 2010-10-29 09:48
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?

Please log in before posting. Registration is free and takes only a minute.
Existing account

NEW: Do you have a Google/GoogleMail, Yahoo or Facebook account? No registration required!
Log in with Google account | Log in with Yahoo account | Log in with Facebook account
No account? Register here.