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
BUG: Incorrect Image Caching #4707
Comments
Is this really different in Neos 8.3? I would suspect this data beeing cached with the html from the Fusion Cache. Maybe we should add something like |
Yes, it is. I tested it on Neos 8.3 and 7.3 and in both cases the caption changes immediately, but in Neos 9.0 I need to flush the cache to get the new value. |
@mficzel I think we do: neos-development-collection/Neos.Neos/Classes/Package.php Lines 102 to 108 in bb4cfc2
|
Yep that! and there is some hidden magic in the uri converter implementation where we convert the asset:// to an actual asset and append a tag to the rendering |
I guess the code from above still stems from a time where we had a "global content cache".. |
huh? what do we have now? |
Well it's still global, but it depends on the Content Repository. |
Hmmm ... interesting did not know that. Currently the inner working of Not sure i really like this. We could still decide to add AssetTags like NodeTags explicitly.
|
TBH I can't remember. AFAIS, nothing has changed here, as the AssetRepository still emit the signal. |
Good catch @mficzel ... 🙈 |
This is interesting, that means we need to flush asset changes on every repository I guess? given that they are global and we can't really know which repository uses it |
@kitsunet That's covered internally as the AssetUsage iterates over all CRs |
Is there an existing issue for this?
Current Behavior
If you have an image component that displays the metadata (caption, copyright notice, etc.) of an image and then the metadata is changed in the media module, these changes aren't shown in the frontend until the cache is flushed.
Expected Behavior
When changing the metadata of an image, those changes should show up immediately in frontend.
Steps To Reproduce
${this.image.caption}
Environment
Anything else?
I tested the behavior on Neos 8 as well and it's working correctly there.
The text was updated successfully, but these errors were encountered: