[web-php] master: Don't rely on default cache timeout for archive

From: Date: Thu, 30 Jul 2026 14:04:39 +0000
Subject: [web-php] master: Don't rely on default cache timeout for archive
Groups: php.webmaster 
Request: Send a blank email to php-webmaster+get-33911@lists.php.net to get a copy of this message
Author: Derick Rethans (derickr) Date: 2026-07-30T15:04:27+01:00 Commit: https://github.com/php/web-php/commit/4227319033f018fa10eef9fbc183736460b4817c Raw diff: https://github.com/php/web-php/commit/4227319033f018fa10eef9fbc183736460b4817c.diff Don't rely on default cache timeout for archive Changed paths: M archive/2026.php Diff: diff --git a/archive/2026.php b/archive/2026.php index 6e91b33ddc..04ad6dd8ae 100644 --- a/archive/2026.php +++ b/archive/2026.php @@ -5,7 +5,7 @@ $_SERVER['BASE_PAGE'] = 'archive/2026.php'; include_once __DIR__ . '/../include/prepend.inc'; news_archive_sidebar(); -site_header("News Archive - 2026"); +site_header("News Archive - 2026", ['cache' => true, 'cache_control' => 15 * 60]); ?> <h1>News Archive - 2026</h1>

« previous php.webmaster (#33911) next »