From: Thomas Berezansky Date: Wed, 10 Jun 2015 16:41:45 +0000 (-0400) Subject: LP#1435938: Set no_cache on AC clear response X-Git-Tag: sprint4-merge-nov22~1271 X-Git-Url: https://old-git.evergreen-ils.org/?a=commitdiff_plain;h=7008535f27347bdd23ebca68ed75afdbe9661b8d;p=working%2FEvergreen.git 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 --- 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); }