mirror of
https://github.com/gohugoio/hugo.git
synced 2026-08-24 23:38:53 +00:00
Update partialCached.md (#1924)
* Update partialCached.md Clarifying mechanics of `partialCached` * incorporating jmooring's feedback
This commit is contained in:
@@ -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:
|
||||
|
||||
```
|
||||
|
||||
Reference in New Issue
Block a user