Dynamic style,css cache busting
Keeps the existing format used to version the style sheet but it's now based off the file modification time.
This commit is contained in:
+1
-1
@@ -37,7 +37,7 @@ body::-webkit-scrollbar {
|
||||
display:none
|
||||
}
|
||||
</style>
|
||||
<link rel="stylesheet" href="style.css?v=4.06.23">
|
||||
<link rel="stylesheet" href="style.css?v=<?php echo date ('n.d.y', filemtime('style.css')); ?>">
|
||||
<link rel="stylesheet" type="text/css" href="static/dialog-polyfill.css" />
|
||||
<body>
|
||||
<div class="banner">
|
||||
|
||||
Reference in New Issue
Block a user