Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
partialCache cache not flushed between reloads #3016
Discussion started at: discuss.gohugo.io/t/no-cached-partials-with-server-command-or-watch-flag/
When using the 'server' command or the 'watch' flag, the cache of the partialCached template function does not get flushed.
I like this feature/bug by the way, since a large part of my themes don't need to be rebuild with every website change (things like article count, random fetch of related articles, etcetera).
I believed that the partialCached not being flushed was a feature, since the documentation says that partialCached is not rendered every time. I read that as cached across different rebuilds too.