Created
January 9, 2019 18:32
-
-
Save robsonsobral/1df6bb51ef0c04dc5fcc0afd5b36bddf to your computer and use it in GitHub Desktop.
Hugo query string cachebusting
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<script src="{{ $script.RelPermalink }}?mtime={{ (os.Stat "/static/scripts/index.js" ).ModTime.Unix }}"></script> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment