Skip to content

Commit

Permalink
perf: cache head-begin hook
Browse files Browse the repository at this point in the history
  • Loading branch information
razonyang committed Jun 16, 2024
1 parent fe5e620 commit 165eb48
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion hugo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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"

0 comments on commit 165eb48

Please sign in to comment.