[Rt-commit] rt branch, 4.0-trunk, updated. rt-4.0.11-37-g3823e4c
Thomas Sibley
trs at bestpractical.com
Fri Apr 12 14:22:17 EDT 2013
The branch, 4.0-trunk has been updated
via 3823e4c87f268901ecc1b6c5be53a114c6fddb3b (commit)
from 35b87bb8d3f96a4c3090b8da1cae23f19bc49f81 (commit)
Summary of changes:
share/html/Helpers/autohandler | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
- Log -----------------------------------------------------------------
commit 3823e4c87f268901ecc1b6c5be53a114c6fddb3b
Author: Thomas Sibley <trs at bestpractical.com>
Date: Fri Apr 12 10:30:51 2013 -0700
Specify 'no-cache' explicitly for endpoints under /Helpers/
This is the default behaviour of CacheControlExpiresHeaders(), but being
explicit makes it clearer when reading the code.
No functional change.
diff --git a/share/html/Helpers/autohandler b/share/html/Helpers/autohandler
index 5bd9f55..fd683a4 100644
--- a/share/html/Helpers/autohandler
+++ b/share/html/Helpers/autohandler
@@ -46,7 +46,7 @@
%#
%# END BPS TAGGED BLOCK }}}
<%init>
- RT::Interface::Web::CacheControlExpiresHeaders();
+ RT::Interface::Web::CacheControlExpiresHeaders( Time => 'no-cache' );
$m->call_next;
</%init>
-----------------------------------------------------------------------
More information about the Rt-commit
mailing list