From 4abcce013c9ee3053badf2abda77190233066676 Mon Sep 17 00:00:00 2001 From: Mitja Felicijan Date: Fri, 23 Feb 2024 10:35:22 +0100 Subject: Testing thoughts page --- _posts/notes/2023-05-01-cachebusting-in-hugo.md | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 _posts/notes/2023-05-01-cachebusting-in-hugo.md (limited to '_posts/notes/2023-05-01-cachebusting-in-hugo.md') diff --git a/_posts/notes/2023-05-01-cachebusting-in-hugo.md b/_posts/notes/2023-05-01-cachebusting-in-hugo.md new file mode 100644 index 0000000..f8d92b2 --- /dev/null +++ b/_posts/notes/2023-05-01-cachebusting-in-hugo.md @@ -0,0 +1,18 @@ +--- +title: Cache busting in Hugo +permalink: /cachebusting-in-hugo.html +date: 2023-05-01T12:00:00+02:00 +layout: post +type: note +draft: false +tags: [hugo] +--- + +```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