mirror of
https://github.com/gohugoio/hugo.git
synced 2025-08-22 21:42:50 +02:00
Prevent stale content in Fast Render Mode
We do that by re-render visited pages that is not already in the stack. This may potentially do some double work, but that small penalty should be well worth it. Fixes #5281
This commit is contained in:
@@ -368,6 +368,11 @@ type BuildCfg struct {
|
||||
SkipRender bool
|
||||
// Use this to indicate what changed (for rebuilds).
|
||||
whatChanged *whatChanged
|
||||
|
||||
// This is a partial re-render of some selected pages. This means
|
||||
// we should skip most of the processing.
|
||||
PartialReRender bool
|
||||
|
||||
// Recently visited URLs. This is used for partial re-rendering.
|
||||
RecentlyVisited map[string]bool
|
||||
}
|
||||
|
Reference in New Issue
Block a user