From 165eb48f62cb1838706a6a5ec36466090ee6caa3 Mon Sep 17 00:00:00 2001 From: razonyang Date: Sun, 16 Jun 2024 12:28:33 +0800 Subject: [PATCH] perf: cache head-begin hook --- hugo.toml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/hugo.toml b/hugo.toml index de646aec..32db7251 100644 --- a/hugo.toml +++ b/hugo.toml @@ -56,4 +56,5 @@ sticky = true position = "end" # start, end or content. [params.hugopress.modules.hb-blog.hooks.head-begin] -cacheable = false +cacheable = true +cache_param_key = "external_url"