[PHP-WEBMASTER] [web-php] master: Set cache_control to 1 month for eol

Author: Joe Ferguson (svpernova09)
Committer: Derick Rethans (derickr)
Date: 2026-07-30T15:22:19+01:00

Commit: Set cache_control to 1 month for eol · php/web-php@3d1ea5e · GitHub
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&quot;&gt;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>