Add timed cache expiration on CfP partials

(cherry picked from commit f339c191c13c204e9c0a78df1bc083e882b2d2eb)
This commit is contained in:
James Mason 2018-02-01 08:52:14 -08:00
parent f22afe0644
commit c4219bbaf9
2 changed files with 4 additions and 2 deletions

View file

@ -1,4 +1,5 @@
- cache [conference_id, call, event_types, tracks, '#splash#callforpapers'] do
- cache([conference_id, call, event_types, tracks, '#splash#callforpapers'],
expires_in: 1.hour) do
.col-md-4.col-sm-4.text-center
%h2
Call for Papers

View file

@ -1,4 +1,5 @@
- cache [conference_id, call, '#splash#callfortracks'] do
- cache([conference_id, call, '#splash#callfortracks'],
expires_in: 1.hour) do
.col-md-4.col-sm-4.text-center
%h2
Call for Tracks