문서 캐시 방지 헤더 보강
This commit is contained in:
+7
-1
@@ -6,6 +6,12 @@ if (session_status() !== PHP_SESSION_ACTIVE) {
|
||||
}
|
||||
require_once __DIR__ . '/../config/config.php';
|
||||
|
||||
if (!headers_sent()) {
|
||||
header('Cache-Control: no-store, no-cache, must-revalidate, max-age=0');
|
||||
header('Pragma: no-cache');
|
||||
header('Expires: 0');
|
||||
}
|
||||
|
||||
$csrf = csrf_token();
|
||||
|
||||
if (isset($_GET['logout'])) {
|
||||
@@ -76,7 +82,7 @@ $loggedIn = signed_in();
|
||||
<link rel="icon" href="/assets/icon-192.png" type="image/png" sizes="192x192">
|
||||
<link rel="apple-touch-icon" href="/assets/apple-touch-icon.png">
|
||||
<link rel="manifest" href="/manifest.json">
|
||||
<script src="/assets/asset-reload.js?v=20260721_autotoken1" data-service="control" defer></script>
|
||||
<script src="/assets/asset-reload.js?v=20260721_nocache1" data-service="control" defer></script>
|
||||
<meta name="theme-color" content="#0f1115">
|
||||
<script>
|
||||
try {
|
||||
|
||||
Reference in New Issue
Block a user