Commit 6ba0c8c9 authored by Mahmoud Aglan's avatar Mahmoud Aglan

fix: add PHP no-cache headers + filemtime version busting

Co-Authored-By: 's avatarClaude Opus 4.6 <noreply@anthropic.com>
parent afdc4ddb
<?php
header('Cache-Control: no-cache, no-store, must-revalidate');
header('Pragma: no-cache');
header('Expires: 0');
?>
<!DOCTYPE html>
<html lang="ar" dir="rtl">
<head>
......@@ -13,7 +18,7 @@
<link rel="preconnect" href="https://fonts.googleapis.com">
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
<link href="https://fonts.googleapis.com/css2?family=IBM+Plex+Sans+Arabic:wght@400;500;600;700;800&family=Inter:wght@400;500;600;700&display=swap" rel="stylesheet">
<?php $v = '2'; ?>
<?php $v = filemtime(__DIR__ . '/public/js/engine.js') ?: time(); ?>
<link rel="stylesheet" href="/public/css/tokens.css?v=<?=$v?>">
<link rel="stylesheet" href="/public/css/core.css?v=<?=$v?>">
</head>
......
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