Topic: Am I using fragment caching correctly?
My app has a 'show' page which shows a place with its associated user reviews. Some calculations are done on the page (to average some review stats), and it is not uncommon for the page to take 4-5 secs to load (I'm still working on optimizations, but I don't know how much further I can go).
I was inspired by Ryan's recent Railscast on fragment caching, so I put a <% cache do %> around the calculations and user reviews, and of course I have to refresh the cache each time a user leaves a new review.
In the Railscast, Ryan frowned upon having a different cache file for every place id (show/1, show/2, show/3, and so forth...). But I don't see any other way for me to do it, since every place will have different reviews and stats. Is it a bad idea for me to be caching this way? Or am I getting scared for no reason?