Best Way To Use Cache For Multiple Querys (Active Record) For A Dynamic View

Hi everyone, I wan’t to use cache for my main page, this page loads different data because is dynamic but I think that I should use cache to improve the performance.

Can u help me?



there are many way to cache according to your needs

  1. Data Caching

2)Fragment Caching

  1. Page Caching

read carefully this docmentation and pick up the appropriate