From 4dd779057ce2aa1d690c1533f85a3132ec029e05 Mon Sep 17 00:00:00 2001 From: Cameron Moore Date: Wed, 28 Nov 2018 23:38:10 -0600 Subject: [PATCH] Clarify that partialCached is per site/language Fixes #665 --- content/en/functions/partialCached.md | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/content/en/functions/partialCached.md b/content/en/functions/partialCached.md index 515143d46..7becea24b 100644 --- a/content/en/functions/partialCached.md +++ b/content/en/functions/partialCached.md @@ -19,7 +19,12 @@ deprecated: false aliases: [] --- -The `partialCached` template function can offer significant performance gains for complex templates that don't need to be re-rendered on every invocation. Here is the simplest usage: +The `partialCached` template function can offer significant performance gains for complex templates that don't need to be re-rendered on every invocation. + + +**Note:** Each Site (or language) has its own `partialCached` cache, so each site will execute a partial once. + +Here is the simplest usage: ``` {{ partialCached "footer.html" . }}