From 7008535f27347bdd23ebca68ed75afdbe9661b8d Mon Sep 17 00:00:00 2001 From: Thomas Berezansky Date: Wed, 10 Jun 2015 12:41:45 -0400 Subject: [PATCH] LP#1435938: Set no_cache on AC clear response So that the clearing itself isn't cached. Signed-off-by: Thomas Berezansky Signed-off-by: Ben Shum --- Open-ILS/src/perlmods/lib/OpenILS/WWW/AddedContent.pm | 1 + 1 file changed, 1 insertion(+) diff --git a/Open-ILS/src/perlmods/lib/OpenILS/WWW/AddedContent.pm b/Open-ILS/src/perlmods/lib/OpenILS/WWW/AddedContent.pm index ba770d185c..a1f1767216 100644 --- a/Open-ILS/src/perlmods/lib/OpenILS/WWW/AddedContent.pm +++ b/Open-ILS/src/perlmods/lib/OpenILS/WWW/AddedContent.pm @@ -134,6 +134,7 @@ sub handler { return Apache2::Const::NOT_FOUND unless $handler and $type and $format and $cachekey; if ($type eq "clearcache") { + $r->no_cache(1); # Don't cache the clear cache info return $AC->clear_cache($format, $cachekey); } -- 2.11.0