projects
/
working
/
Evergreen.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
bc44b32
)
LP#1435938: Set no_cache on AC clear response
author
Thomas Berezansky
<tsbere@mvlc.org>
Wed, 10 Jun 2015 16:41:45 +0000
(12:41 -0400)
committer
Ben Shum
<bshum@biblio.org>
Mon, 17 Aug 2015 16:27:06 +0000
(12:27 -0400)
So that the clearing itself isn't cached.
Signed-off-by: Thomas Berezansky <tsbere@mvlc.org>
Signed-off-by: Ben Shum <bshum@biblio.org>
Open-ILS/src/perlmods/lib/OpenILS/WWW/AddedContent.pm
patch
|
blob
|
history
diff --git
a/Open-ILS/src/perlmods/lib/OpenILS/WWW/AddedContent.pm
b/Open-ILS/src/perlmods/lib/OpenILS/WWW/AddedContent.pm
index
ba770d1
..
a1f1767
100644
(file)
--- 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);
}