forked from neos/neos-development-collection
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
FEATURE: CacheEntires should respect the workspace they rely on
Before this change there are no cache entries based on a workspace. So editing a node in the neos backend would always flush the live cache even if you do not publish the change to live. This happens as the we do not respect the current workspace in our cache tags. This change will adjust all generated content cache tags and respect the related workspace. The `ContentCacheFlusher` will also only flush cache entries for the current workspace. As a fallback we still write and flush the old tags. To make use of the new cache tags inside fusion use the CachingHelper like this `${Neos.Caching.nodeTag(node)}`. This will create all correct cache tags wich are needed. Resolves neos#2096
- Loading branch information
1 parent
60050c9
commit e5e6ef2
Showing
6 changed files
with
427 additions
and
39 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.