Add caching to the Stats page

This commit is contained in:
gregoirenovel 2017-05-26 17:36:17 +02:00
parent 711f21c458
commit e242c5d742

View file

@ -64,6 +64,7 @@
%span.big-number-card-number %span.big-number-card-number
= number_with_delimiter(@dossiers_count) = number_with_delimiter(@dossiers_count)
- cache "computation-heavy-stats", :expires_in => 1.day do
.stat-card.stat-card-half.pull-left .stat-card.stat-card-half.pull-left
%span.stat-card-title Temps de traitement moyen d'un dossier %span.stat-card-title Temps de traitement moyen d'un dossier