Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bust cache for CSS and JS on every build #3097

Merged
merged 1 commit into from
Sep 5, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions jekyll-assets/_includes/head.html
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,8 @@
<link href="https://fonts.googleapis.com/css2?family=Roboto:ital,wght@0,100;0,300;0,400;0,700;1,100;1,300;1,400;1,700&display=swap" rel="stylesheet">
<link rel="preconnect" href="https://IHWGNTJ1NP-dsn.algolia.net" crossorigin>
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/@docsearch/css@3"/>
<link rel="stylesheet" href="{{ site.baseurl }}/css/style.css?ver=1646652613">
<link rel="stylesheet" href="{{ site.baseurl }}/css/tabs.css?ver=1639581228">
<link rel="stylesheet" href="{{ site.baseurl }}/css/style.css?ver={{ site.time | date: '%s' }}">
<link rel="stylesheet" href="{{ site.baseurl }}/css/tabs.css?ver={{ site.time | date: '%s' }}">
<script async src="https://www.googletagmanager.com/gtag/js?id=UA-180927933-8"></script>
<script>
window.dataLayer = window.dataLayer || [];
Expand Down
6 changes: 3 additions & 3 deletions jekyll-assets/_includes/scripts.html
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<!-- Script for the TOC toggle -->
<script src="{{ site.baseurl }}/scripts/nav.js" type="text/javascript"></script>
<script src="{{ site.baseurl }}/scripts/nav.js?ver={{ site.time | date: '%s' }}" type="text/javascript"></script>

<!-- TOCify scripts -->
<script src="{{ site.baseurl }}/scripts/jquery-1.12.4.min.js"></script>
Expand All @@ -8,10 +8,10 @@

<!-- Copy To Clipboard scripts -->
<script src="{{ site.baseurl }}/scripts/clipboard.min.js"></script>
<script src="{{ site.baseurl }}/scripts/copy-to-clipboard.js"></script>
<script src="{{ site.baseurl }}/scripts/copy-to-clipboard.js?ver={{ site.time | date: '%s' }}"></script>

<!-- Some custom handling for whitepapers -->
<script src="{{ site.baseurl }}/scripts/whitepaper.js"></script>
<script src="{{ site.baseurl }}/scripts/whitepaper.js?ver={{ site.time | date: '%s' }}"></script>

<script>
function hasher(text, element) {
Expand Down
Loading