changeset 1347:f1fb4091d7f3 live

expires_in doesn't do what I thought here, we have external expiry job instead
author Chris Cannam
date Fri, 21 Jun 2013 15:05:50 +0100
parents befaf13fec0d
children 0f5c32bfd33e
files app/views/projects/explore.html.erb
diffstat 1 files changed, 3 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/app/views/projects/explore.html.erb	Fri Jun 21 15:05:30 2013 +0100
+++ b/app/views/projects/explore.html.erb	Fri Jun 21 15:05:50 2013 +0100
@@ -11,7 +11,7 @@
 <h2><%= l(:label_explore_projects) %></h2>
 
 <div class="threecolumnleft">
-<% cache(:action => 'explore', :action_suffix => 'tags', :expires_in => 1.hour) do %>
+<% cache(:action => 'explore', :action_suffix => 'tags') do %>
   <div class="tags box">
   <h3><%=l(:label_project_tags_all)%></h3>
     <%= render :partial => 'projects/tagcloud' %>
@@ -28,7 +28,7 @@
 </div>
 
 <div class="threecolumnleft">
-  <% cache(:action => 'explore', :action_suffix => 'busy_institutions', :expires_in => 1.hour) do %>
+  <% cache(:action => 'explore', :action_suffix => 'busy_institutions') do %>
   <div class="institutions box">
   <h3><%=l(:label_institutions_busy)%></h3>
     <%= render :partial => 'activities/busy_institution' %>
@@ -38,7 +38,7 @@
 </div>
 
 <div class="threecolumnmid">
-  <% cache(:action => 'explore', :action_suffix => 'busy_projects', :expires_in => 1.hour) do %>
+  <% cache(:action => 'explore', :action_suffix => 'busy_projects') do %>
   <div class="projects box">
   <h3><%=l(:label_projects_busy)%></h3>
     <%= render :partial => 'activities/busy' %>