mirror of
https://github.com/tiennm99/hugoDocs.git
synced 2026-10-14 12:16:55 +00:00
Update partialCached.md (#1924)
* Update partialCached.md Clarifying mechanics of `partialCached` * incorporating jmooring's feedback
This commit is contained in:
1 parent
385487191b
commit
2cf8841b35
1 file changed
+2
@@ -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:** 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:
|
Here is the simplest usage:
|
||||||
|
|
||||||
```
|
```
|
||||||
|
|||||||
Reference in new issue
Block a user