From 39a014075ad127cf38f9251843ff61bd2022d147 Mon Sep 17 00:00:00 2001 From: Tom Hughes Date: Wed, 1 Sep 2010 13:47:06 +0100 Subject: [PATCH 1/1] Revert "We can cache the trace list for logged in users now" This reverts commit f30dcd1a629449c19bc75fb3e6baa2a58f57d3c5. --- app/controllers/trace_controller.rb | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/app/controllers/trace_controller.rb b/app/controllers/trace_controller.rb index 3777621a4..989d5d5a0 100644 --- a/app/controllers/trace_controller.rb +++ b/app/controllers/trace_controller.rb @@ -15,7 +15,8 @@ class TraceController < ApplicationController before_filter :offline_redirect, :only => [:create, :edit, :delete, :data, :api_data, :api_create] around_filter :api_call_handle_error, :only => [:api_details, :api_data, :api_create] - caches_action :list, :view, :layout => false + caches_action :list, :unless => :logged_in?, :layout => false + caches_action :view, :layout => false caches_action :georss, :layout => true cache_sweeper :trace_sweeper, :only => [:create, :edit, :delete, :api_create], :unless => STATUS == :database_offline cache_sweeper :tracetag_sweeper, :only => [:create, :edit, :delete, :api_create], :unless => STATUS == :database_offline -- 2.43.2