mirror of
https://codeberg.org/PostERG/xamxam.git
synced 2026-05-06 19:19:19 +02:00
cache-bust: add filemtime-based versioning to all CSS and JS assets
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
<?php foreach ($extraJs ?? [] as $js): ?>
|
||||
<script src="<?= htmlspecialchars($js) ?>"></script>
|
||||
<script src="<?= App::assetV($js) ?>"></script>
|
||||
<?php endforeach; ?>
|
||||
<?php if (!empty($extraJsInline)): ?>
|
||||
<script><?= $extraJsInline ?></script>
|
||||
|
||||
Reference in New Issue
Block a user