Migration of our hostname to lab.lostb.one is done. Redirects are intact until March.

Commit 4d793522 authored by Che's avatar Che

Change caching behaviour

parent d34f8ad0
// Make the client revalidate its cached assets.
Header("Cache-Control: must-revalidate");
// Specify the expiry time of cached assets (3 days).
$offset = 60 * 60 * 24 * 3;
$ExpStr = "Expires: " . gmdate("D, d M Y H:i:s", time() + $offset) . " GMT";
<!DOCTYPE html>
<html lang="en">
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
// Caching headers are now specified on server level.
if (!isset($_GET['refresh']) || filter_var($_GET['refresh'], FILTER_SANITIZE_STRING) != "n") {
echo" <meta http-equiv='refresh' content='300'>";
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment