grunt-asset-cachebuster
Version:
Cachebust images, scripts and other assets in your HTML & CSS files.
27 lines (26 loc) • 801 B
HTML
<html>
<head>
<title>test</title>
<script src="test.js"></script>
<script>
console.log('testing');
</script>
<link href="test.css" rel="stylesheet">
<link href="//cdn.1.test.com/test.css" rel="stylesheet">
</head>
<body>
<img src="testing.png" alt="">
<img src="testing.gif" alt="">
<img src="testing.jpg" alt="">
<img src="testing.jpeg" alt="">
<img src="testing.svg" alt="">
<svg width="100%" height="100%" viewBox="0 0 100 100"
xmlns="http://www.w3.org/2000/svg"
xmlns:xlink="http://www.w3.org/1999/xlink">
<image xlink:href="testing.png" x="0" y="0" height="100" width="100"/>
</svg>
<script src="test2.js"></script>
<script src="//cdn.2.test.com/test2.js"></script>
</body>
</html>