From 623ef06b1fbe19821e82d82a984bc4cbfaae0410 Mon Sep 17 00:00:00 2001 From: Mitja Felicijan Date: Wed, 24 May 2023 08:49:38 +0200 Subject: Note: Cachebusting in Hugo --- content/notes/cachebusting-in-hugo.md | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 content/notes/cachebusting-in-hugo.md (limited to 'content/notes/cachebusting-in-hugo.md') diff --git a/content/notes/cachebusting-in-hugo.md b/content/notes/cachebusting-in-hugo.md new file mode 100644 index 0000000..65d7769 --- /dev/null +++ b/content/notes/cachebusting-in-hugo.md @@ -0,0 +1,17 @@ +--- +title: Cache busting in Hugo +url: cachebusting-in-hugo.html +date: 2023-05-01 +type: notes +draft: false +tags: [hugo, cachebusting] +--- + +```html +{{ $cachebuster := delimit (shuffle (split (md5 "6fab11c6669976d759d2992eff1dd5be") "" )) "" }} + + +``` + +This `6fab11c6669976d759d2992eff1dd5be` can be random string you generate use. +You can use whatever you want. -- cgit v1.2.3