Skip to content

Commit fe330c2

Browse files
committed
Create release files with a cache timeout of 30 minutes, instead of the default month
1 parent 4227319 commit fe330c2

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

bin/createReleaseEntry

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ if (isset($opts['r'])) {
5858
file_put_contents(RELEASES_ABS . $release, "<?php
5959
\$_SERVER['BASE_PAGE'] = 'releases/$release';
6060
include_once __DIR__ . '/../include/prepend.inc';
61-
site_header('PHP $version Release Announcement');
61+
site_header('PHP $version Release Announcement', ['cache' => true, 'cache_control' => 30 * 60]);
6262
?>
6363
<h1>PHP $version Release Announcement</h1>
6464

0 commit comments

Comments
 (0)