From 8c95347d99b7f8f2c2259b51fb5d13eb7bcf46f2 Mon Sep 17 00:00:00 2001 From: eltrac Date: Thu, 2 Apr 2026 22:36:52 +0800 Subject: perf: shorten webmention cache duration since --ignoreCache was used during build --- layouts/_partials/posts/webmention.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/layouts/_partials/posts/webmention.html b/layouts/_partials/posts/webmention.html index d93521fa..95e40f29 100644 --- a/layouts/_partials/posts/webmention.html +++ b/layouts/_partials/posts/webmention.html @@ -2,7 +2,7 @@ {{ $currentPagePath := .RelPermalink }} {{ $webmentions_url := .Site.Params.webmention.src }} -{{ $cacheKey := print $webmentions_url (now.Format "2006-01-02-1504") }} +{{ $cacheKey := print $webmentions_url (now.Format "2006-01-02") }} {{ $opts := dict "key" $cacheKey }} {{ with try (resources.GetRemote $webmentions_url $opts) }} -- cgit v1.2.3