From 0dfa656c70d70581ab4cd2ddf393cb432cd16517 Mon Sep 17 00:00:00 2001 From: Freya Murphy Date: Sat, 28 Feb 2026 01:03:17 -0500 Subject: bucket webring: pull links from local json file --- src/web/_views/bucket/main.php | 5 ++--- src/web/_views/head.php | 2 +- 2 files changed, 3 insertions(+), 4 deletions(-) (limited to 'src/web/_views') diff --git a/src/web/_views/bucket/main.php b/src/web/_views/bucket/main.php index b85c773..2842afc 100644 --- a/src/web/_views/bucket/main.php +++ b/src/web/_views/bucket/main.php @@ -1,6 +1,5 @@ view('head', $data); if ($lightmode === 'true') { echo embed_css_ext('css/bucket_light.css'); @@ -34,8 +33,8 @@ 🏳️‍🌈 - - + + diff --git a/src/web/_views/head.php b/src/web/_views/head.php index 4d16a1b..281ebc5 100644 --- a/src/web/_views/head.php +++ b/src/web/_views/head.php @@ -7,7 +7,7 @@ if (ENVIRONMENT == 'production' && !in_array($current_app, $non_cached_apps)) { $cache_seconds = 300; if ($current_app == 'bucket') { - $cache_seconds = 3600; + $cache_seconds = 86400; } header("Cache-Control: public, max-age=$cache_seconds"); header("Expires: " . gmdate('D, d M Y H:i:s', time() + $cache_seconds) . " UTC"); -- cgit v1.2.3-freya