[web-php] master: Set cache_control to 1 month for eol
| From: | Joe Ferguson via Derick Rethans | Date: | Thu, 30 Jul 2026 14:22:22 +0000 |
| Subject: | [web-php] master: Set cache_control to 1 month for eol | ||
| Groups: | php.webmaster | ||
| Request: | Send a blank email to php-webmaster+get-33913@lists.php.net to get a copy of this message | ||
Author: Joe Ferguson (svpernova09)
Committer: Derick Rethans (derickr)
Date: 2026-07-30T15:22:19+01:00
Commit: https://github.com/php/web-php/commit/3d1ea5e77c69c6f862bd951b217bccb4033bd284
Raw diff: https://github.com/php/web-php/commit/3d1ea5e77c69c6f862bd951b217bccb4033bd284.diff
Set cache_control to 1 month for eol
Changed paths:
M eol.php
Diff:
diff --git a/eol.php b/eol.php
index e3eff384a4..9caf335cb0 100644
--- a/eol.php
+++ b/eol.php
@@ -23,7 +23,7 @@
'4.4' => '<a href="https://php-legacy-docs.zend.com/manual/php5/en/migration5">A
guide is available for migrating from PHP 4 to 5.0.</a>',
];
-site_header('Unsupported Branches');
+site_header('Unsupported Branches', ['cache' => true,
'cache_control' => 60 * 60 * 24]);
?>
<h1>Unsupported Branches</h1>