You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Wiping the cache on a multisite network results in the very next page view being cached incorrectly, because the zencache/cache/zc-blog-paths file is wiped also, and it's not rebuilt until after the next page view, and after the AdvancedCache class caches for the first time.
In that first page view (under the right conditions), this results in an invalid cache path being generated by buildCachePath(); i.e., it thinks the path is merely a sub-directory for the main blog instead of identifying it as a child blog token.
Bug exists in the updated branch we are working on for the next release only: wpsharks/comet-cache-pro#125, following improvements in the way cache paths are generated.
Steps to Reproduce
Setup MS network with sub-directory installation.
Setup two child blogs: child1 and child2.
Wipe the cache.
Without doing anything else, visit the front page of child1 or child2.
Check your zencache/cache directory.
Expected Behavior
That the child blog path is interpreted correctly.
Observed Behavior
The child blog is nested into the main site's directory incorrectly.
The text was updated successfully, but these errors were encountered:
Multisite Bug Fix: Fixed a bug where Wiping the cache on a multisite network resulted in the very next page view being cached incorrectly. Props @jaswsinc. See Issue #541.
This issue will now be locked to further updates. If you have something to add related to this GitHub Issue, please open a new GitHub Issue and reference this one (#541).
Overview
Wiping the cache on a multisite network results in the very next page view being cached incorrectly, because the
zencache/cache/zc-blog-paths
file is wiped also, and it's not rebuilt until after the next page view, and after theAdvancedCache
class caches for the first time.In that first page view (under the right conditions), this results in an invalid cache path being generated by
buildCachePath()
; i.e., it thinks the path is merely a sub-directory for the main blog instead of identifying it as a child blog token.Bug exists in the updated branch we are working on for the next release only: wpsharks/comet-cache-pro#125, following improvements in the way cache paths are generated.
Steps to Reproduce
child1
andchild2
.child1
orchild2
.zencache/cache
directory.Expected Behavior
That the child blog path is interpreted correctly.
Observed Behavior
The child blog is nested into the main site's directory incorrectly.
The text was updated successfully, but these errors were encountered: