From 04927e448f99f67bbfde88dd466f03fb23373b28 Mon Sep 17 00:00:00 2001 From: Seb Bacon Date: Mon, 25 Jul 2011 15:24:58 +0100 Subject: Add cache headers to various pages (in three categories: short, medium, and long). --- app/controllers/track_controller.rb | 2 ++ 1 file changed, 2 insertions(+) (limited to 'app/controllers/track_controller.rb') diff --git a/app/controllers/track_controller.rb b/app/controllers/track_controller.rb index 10b3418bd..e06701a5f 100644 --- a/app/controllers/track_controller.rb +++ b/app/controllers/track_controller.rb @@ -11,6 +11,8 @@ class TrackController < ApplicationController protect_from_forgery # See ActionController::RequestForgeryProtection for details + before_filter :medium_cache + # Track all updates to a particular request def track_request @info_request = InfoRequest.find_by_url_title(params[:url_title]) -- cgit v1.2.3