From 6d2d2956ec340f83ca1cda6e6bde3cf88f881798 Mon Sep 17 00:00:00 2001 From: Ariel Glenn Date: Fri, 6 Nov 2009 10:53:51 +0000 Subject: [PATCH] Add hook CacheHeadersAfterSet to permit override of cache headers later --- includes/OutputPage.php | 1 + 1 file changed, 1 insertion(+) diff --git a/includes/OutputPage.php b/includes/OutputPage.php index d1f2adf240..85912834cb 100644 --- a/includes/OutputPage.php +++ b/includes/OutputPage.php @@ -1101,6 +1101,7 @@ class OutputPage { $response->header( 'Cache-Control: no-cache, no-store, max-age=0, must-revalidate' ); $response->header( 'Pragma: no-cache' ); } + wfRunHooks('CacheHeadersAfterSet', array( &$this ) ); } /** -- 2.20.1