Essais de cache pour accélérer encore la page principale

This commit is contained in:
echarp 2014-08-16 22:43:00 +02:00
parent 68df6d45d6
commit d18eb7aa18

View File

@ -3,6 +3,7 @@
= render '/regions/selector' = render '/regions/selector'
- cache do
= render '/lugs/search' = render '/lugs/search'
- if params[:year] - if params[:year]
@ -46,6 +47,7 @@
%strong.city= event.city.gsub '-', ' ' %strong.city= event.city.gsub '-', ' '
= event.title = event.title
- cache do
.formats .formats
%em.fa.fa-rss %em.fa.fa-rss
=raw t '.calendar_in', =raw t '.calendar_in',