1
0
mirror of https://github.com/restoreddev/phpapprentice.git synced 2025-08-13 02:04:26 +02:00

Added ability to version assets for browser cache busting

This commit is contained in:
Andrew Davis
2018-09-12 22:00:18 -05:00
parent 3f9679ff5b
commit c2bfe21c7a
5 changed files with 66 additions and 3 deletions

View File

@@ -8,9 +8,9 @@
<meta name="description" content="<?= $subtitle ?? 'A site for learning how to use PHP' ?>">
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="stylesheet" href="/css/site.css">
<link rel="stylesheet" href="<?php echo asset('css/site.css') ?>">
<link rel="icon" href="/favicon-32.png">
<script src="/js/site.js"></script>
<script src="<?php echo asset('js/site.js') ?>"></script>
</head>
<body>