autoloader icon indicating copy to clipboard operation
autoloader copied to clipboard

The ElementBackendPreview caches links with tokens

Open sirdiego opened this issue 7 months ago • 1 comments

Hi @lochmueller, the ElementBackendPreview caches the result of the rendered StandaloneView with the pagesection Cache. Most of the time the EditLinkViewHelper gets used to generate an a-Tag around the content. This link includes a token Parameter that is user specific. This CAN not be cached. This creates issues with using the backend and the BackendFormProtection.

sirdiego avatar May 19 '25 14:05 sirdiego

Good point. I think we stumble over this issue in a few internal projects. But I don't know the solution anymore (perhaps just disable the caching via xclass :-/ ). I will check this...

lochmueller avatar May 19 '25 18:05 lochmueller