Skip to content

Commit

Permalink
chore(core-api): reset assets http cache
Browse files Browse the repository at this point in the history
  • Loading branch information
zoobestik committed May 3, 2024
1 parent eae2ad2 commit 83604f6
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions dokka-templates/base.ftl
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
<@page_metadata.display/>
<@template_cmd name="pathToRoot"><script>var pathToRoot = "${pathToRoot}";</script></@template_cmd>
<link rel="preload" href="${pathToRoot!""}navigation.html" as="document" type="text/html"/>
<link rel="preload" href="/_assets/dokka-template.css" as="style">
<link rel="preload" href="/_assets/dokka-template.css?core-v1" as="style">
<script>document.documentElement.classList.replace("no-js","js");</script>
<#-- This script doesn't need to be there but it is nice to have
since app in dark mode doesn't 'blink' (class is added before it is rendered) -->
Expand All @@ -28,7 +28,7 @@
</script>
<#-- Resources (scripts, stylesheets) are handled by Dokka.
Use customStyleSheets and customAssets to change them. -->
<link rel="stylesheet" href="/_assets/dokka-template.css">
<link rel="stylesheet" href="/_assets/dokka-template.css?core-v1">
<@resources/>
</head>
<body class="${process.env.DOKKA_CUSTOM_BODY}">
Expand Down Expand Up @@ -61,8 +61,8 @@
</div>
</div>
</div>
<script defer src="/_assets/shared.js" type="text/javascript"></script>
<script defer src="/_assets/dokka-template.js" type="text/javascript"></script>
<script defer src="/_assets/shared.js?core-v1" type="text/javascript"></script>
<script defer src="/_assets/dokka-template.js?core-v1" type="text/javascript"></script>
<script>(function(w,d,s,l,i){w[l]=w[l]||[];w[l].push({'gtm.start': new Date().getTime(),event:'gtm.js'});var f=d.getElementsByTagName(s)[0],j=d.createElement(s),dl=l!='dataLayer'?'&l='+l:'';j.async=true;j.src= 'https://www.googletagmanager.com/gtm.js?id='+i+dl;f.parentNode.insertBefore(j,f);})(window,document,'script','dataLayer','GTM-5P98');</script>
<noscript><iframe src="https://www.googletagmanager.com/ns.html?id=GTM-5P98" height="0" width="0" style="display:none;visibility:hidden"></iframe></noscript>
<#if "${process.env.DOKKA_FEEDBACK}" == "true">
Expand Down

0 comments on commit 83604f6

Please sign in to comment.