Cache: fix 1-year CSS cache and add version busting
- .htaccess: remove duplicate cache block that set all CSS/JS to max-age=31536000 CSS/JS now use max-age=3600 must-revalidate (was 1 year, breaking live edits) - index.php: bump main.min.css version v1.1.3 -> v1.1.4 - All 78 PHP files: add ?v=20260222 to main.css and cro-enhancements.css refs Forces browser cache bust for all pages after todays accessibility changes
This commit is contained in:
2
500.php
2
500.php
@@ -81,7 +81,7 @@ error_log('500 Error triggered: ' . date('Y-m-d H:i:s') . ' - IP: ' . $_SERVER['
|
||||
border-radius: 10px;
|
||||
}
|
||||
</style>
|
||||
<link rel="stylesheet" href="/css/main.css">
|
||||
<link rel="stylesheet" href="/css/main.css?v=20260222">
|
||||
</head>
|
||||
<body>
|
||||
<?php include($_SERVER["DOCUMENT_ROOT"] . "/includes/nav.php"); ?>
|
||||
|
||||
Reference in New Issue
Block a user