diff options
| author | eltrac <hi@eltr.ac> | 2026-04-02 22:36:52 +0800 |
|---|---|---|
| committer | eltrac <hi@eltr.ac> | 2026-04-02 22:36:52 +0800 |
| commit | 8c95347d99b7f8f2c2259b51fb5d13eb7bcf46f2 (patch) | |
| tree | 12f4bad848c12272e299d816ac91a76851eb22fb | |
| parent | 20014708cef7ca80b5a78654992b035010faa680 (diff) | |
perf: shorten webmention cache duration since --ignoreCache was used during build
| -rw-r--r-- | layouts/_partials/posts/webmention.html | 2 |
1 files changed, 1 insertions, 1 deletions
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) }} |
