gulp-cache-bust
Version:
Append a query string to your assets to bust that cache!
20 lines (19 loc) • 681 B
HTML
<html lang="en">
<head>
<meta charset="UTF-8">
<title>Index</title>
<link rel="stylesheet">Foo !</link>
<link rel="stylesheet" href="styles/main.css?v=af897361c3e2c8ec45f3ff3ee1009e7d" />
<link rel="stylesheet" href="http://cdn.com/styles/main.css" />
<script src="scripts/main.js?v=b705da77b95e4fdd52cc9da66300aed7"></script>
</head>
<body>
<script type="text/javascript">
console.log("Bar !");
</script>
<script src="scripts/moar.js?v=5f1432bf7a01b16bea3b33b41ea79a06"></script>
<script src="http://best-cdn-ever.com/scripts/evenMoar.js"></script>
<script src="scripts/baz.js?v=f872b0bfa8543f414c83ef6e6b101616"</script>
</body>
</html>