From 1100562e29f6476448b656dbddd4cf22505523f6 Mon Sep 17 00:00:00 2001 From: Mitja Felicijan Date: Sun, 10 Mar 2024 14:59:14 +0100 Subject: Move back to JBMAFP --- content/notes/2023-05-01-cachebusting-in-hugo.md | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 content/notes/2023-05-01-cachebusting-in-hugo.md (limited to 'content/notes/2023-05-01-cachebusting-in-hugo.md') diff --git a/content/notes/2023-05-01-cachebusting-in-hugo.md b/content/notes/2023-05-01-cachebusting-in-hugo.md new file mode 100644 index 0000000..588ee69 --- /dev/null +++ b/content/notes/2023-05-01-cachebusting-in-hugo.md @@ -0,0 +1,16 @@ +--- +title: Cache busting in Hugo +url: /cachebusting-in-hugo.html +date: 2023-05-01T12:00:00+02:00 +type: note +draft: false +--- + +```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