-
-
Notifications
You must be signed in to change notification settings - Fork 7.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
partialCache cache not flushed between reloads #3016
Comments
You may want to test the current master for this. I suspect it is fixed. If not, I will check and close this as part of #3010 |
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.
|
No, it is clearly a bug. The main moivation of |
Ah okay. Thanks for the clarification, then I've misunderstood and partially misused |
This is a final rewrite that removes all the global state in Hugo, which also enables the use if `t.Parallel` in tests. Updates gohugoio#2701 Fixes gohugoio#3016
This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs. |
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.
Details
Hugo version: Hugo Static Site Generator v0.18.1 BuildDate: 2016-12-30T11:02:43+01:00
OS: Fedora 25 64-bit
The text was updated successfully, but these errors were encountered: