fix: disable server-side caching for the search page

This commit is contained in:
Dorian Niemiec 2024-12-28 08:42:27 +01:00
parent 11e65b651f
commit 647cc95c10

View file

@ -81,8 +81,6 @@ if (session_start()) {
header_remove("Pragma");
include 'page_tos.php';
} elseif (count($segments) == 1 && $segments[0] == 'search') {
header("Cache-Control: public, max-age=60");
header_remove("Pragma");
include 'page_search.php';
} elseif (count($segments) == 1 && $segments[0] == 'login') {
include 'page_login.php';