[web-doc] fix/cache: Add Cache-Control header to revcheck.php for improved caching

From: Date: Wed, 26 Aug 2026 06:33:05 +0000
Subject: [web-doc] fix/cache: Add Cache-Control header to revcheck.php for improved caching
Groups: php.doc.web 
Request: Send a blank email to doc-web+get-2550@lists.php.net to get a copy of this message
Author: Luffy (sy-records) Date: 2026-08-26T14:32:55+08:00 Commit: https://github.com/php/web-doc/commit/71dd230ee687ef631d9e4f29cd4283880f6347da Raw diff: https://github.com/php/web-doc/commit/71dd230ee687ef631d9e4f29cd4283880f6347da.diff Add Cache-Control header to revcheck.php for improved caching Changed paths: M www/revcheck.php Diff: diff --git a/www/revcheck.php b/www/revcheck.php index 7d30004..daf2dc2 100644 --- a/www/revcheck.php +++ b/www/revcheck.php @@ -52,6 +52,7 @@ } site_header(); +header('Cache-Control: public, max-age=3600'); switch($tool) { case 'translators': $translators = get_translators($dbhandle, $lang);

« previous php.doc.web (#2550) next »