Skip to content

Commit

Permalink
cache cleaner
Browse files Browse the repository at this point in the history
  • Loading branch information
Anuj3366 committed Aug 12, 2023
1 parent a34b75c commit 99cdfd7
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions index.html
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
<?php
// Set cache control headers to prevent caching
header("Cache-Control: no-cache, no-store, must-revalidate");
header("Pragma: no-cache");
header("Expires: 0");
?>
<!DOCTYPE html>
<html lang="en">

Expand All @@ -7,6 +13,7 @@
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link rel="stylesheet" type="text/css" href="CSS/index.css">
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/[email protected]/src/typed.css">
<script src="script.js?ts=<?php echo time(); ?>"></script>
<title>Anuj Garg</title>
</head>

Expand Down

0 comments on commit 99cdfd7

Please sign in to comment.