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:
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.