From 2cf8841b35009e6daf0805cf35e515b910586053 Mon Sep 17 00:00:00 2001 From: Ivan Duka <39438519+ivanduka@users.noreply.github.com> Date: Sun, 18 Dec 2022 21:06:26 -0800 Subject: [PATCH] Update partialCached.md (#1924) * Update partialCached.md Clarifying mechanics of `partialCached` * incorporating jmooring's feedback --- content/en/functions/partialCached.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/content/en/functions/partialCached.md b/content/en/functions/partialCached.md index a0c317377..2e79bb32f 100644 --- a/content/en/functions/partialCached.md +++ b/content/en/functions/partialCached.md @@ -22,6 +22,8 @@ The `partialCached` template function can offer significant performance gains fo **Note:** Each Site (or language) has its own `partialCached` cache, so each site will execute a partial once. +**Note**: Hugo renders pages in parallel, and will render the partial more than once with concurrent calls to the `partialCached` function. After Hugo caches the rendered partial, new pages entering the build pipeline will use the cached result. + Here is the simplest usage: ```