agallou / mageia-app-db

GNU Affero General Public License v3.0
6 stars 3 forks source link

add cache on filter component #263

Closed agallou closed 8 years ago

agallou commented 8 years ago

Caching the filter component will help laoding the page in 50% less time.

In a local environnment, the home were loading in 98ms. With the cache activated, the page loads in 40ms.

The component is cached according to the request parameters.

Blackfire before : capture du 2015-11-28 15 04 45_blackfire_avant

Blackfire after : capture du 2015-11-28 15 04 26_blackfire_apres

Blackfire delta : capture du 2015-11-28 15 03 49_blackfire_delta

After testing this on prod :

Webpagetest before : http://www.webpagetest.org/result/151128_Q5_G9C/ capture du 2015-11-28 15 05 07_webpagetest_avant

Webpagetest after : http://www.webpagetest.org/result/151128_NP_GAR/ capture du 2015-11-28 15 05 40_webpagetest_apres

stormi commented 8 years ago

:+1: