Taylor Strait wrote: > When a user takes a survey, they call take_survey and it renders a > collection of partials _survey_questions. These questions are set to > display:none and revealed using an AJAX call to 'reveal_next_question' > and page.show. It also calls an extra load for images as I am using > FlexImage. Are CACHE hits free or am I doing things wrong? I am having > trouble interpreting the output from the Mongrel terminal:
It can probably be optimized, but if you're not experiencing any performance issues then optimization may be premature and of little value. Cache hits aren't as expensive as executing the actual query, but they aren't exactly free either. It should probably be possible to bring the number of queries down. -- Roderick van Domburg http://www.nedforce.com -- Posted via http://www.ruby-forum.com/. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk@googlegroups.com To unsubscribe from this group, send email to rubyonrails-talk+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---