Cache rendered templates

This commit is contained in:
Maximilian Grundke
2018-08-20 14:59:40 +02:00
parent 45b6b16c5b
commit eb2af34543
3 changed files with 14 additions and 9 deletions

View File

@ -26,9 +26,9 @@ html lang='en'
i.fa.fa-code
= application_name
#navbar-collapse.collapse.navbar-collapse
= render('navigation')
= render('navigation', cached: true)
ul.nav.navbar-nav.navbar-right
= render('locale_selector')
= render('locale_selector', cached: true)
li = link_to(t('shared.help.link'), '#modal-help', data: {toggle: 'modal'})
= render('session')
.container data-controller=controller_name