I wouldn’t mind getting some feedback about the use of fragment
caching. I’ve got a series of relatively expensive database queries
with their respective partials cached and everything is working fine.
The problem is that do get this to work I’ve had to move the database
queries from the controller into the view layer so as to avoid them
being called if the partial is cached. Is this the way that you guys
handle this problem, as obviously while essential for performance it
breaks the view accessing the model golden rule.
I was wondering if anyone has a better way of handling this scenario.