BUGFIX: Use ContentCacheFlusher Aspect for banning varnish pages#56
Conversation
The cache tags of the Neos ContentCacheFlusher are now used instead of the manually generated ones from the ContentCacheFlusherService Resolves Flowpack#55
|
@daniellienert can you please open a |
| @@ -3,6 +3,8 @@ | |||
|
|
|||
| namespace MOC\Varnish\Aspects; | |||
There was a problem hiding this comment.
Namespace needs to be adjusted.
There was a problem hiding this comment.
@daniellienert the package is still in the MOC\Varnish namespace in 4.0. I'd like to release a 4.1.1 with this bugfix since Neos 5.X is still supported.
This patch will need to be upmerged to master later for Neos 7.X compatibility.
What do you think?
There was a problem hiding this comment.
You are so right ...
|
@paxuclus @daniellienert I try to prepare a Neos 9 compatible version of this package and stubled over this PR. While I tried to remove the deprecated varnish/Classes/Controller/VarnishCacheController.php Lines 130 to 135 in a05b8ae Not sure if your change made this feature obsolete or if it is still needed to invalidate individual nodes in the backend module? I know it's quite a long time, but maybe you remember what was the plan here? Thank you |
|
Hi @dlubitz, I'm pretty sure the ContentCacheFlusherService is still needed for the backend module to work as expected. I guess the deprecation annotation is invalid then. |
|
I see, thank you for the quick reply. |
|
Had a quick look, I also found the usage which @dlubitz mentions |

The cache tags of the Neos ContentCacheFlusher are now used instead
of the manually generated ones from the ContentCacheFlusherService
Resolves #55
todo:
ContentCacheFlusheras deprecated