- Issue created by @longwave
In #3484671-10: Add support for block derivatives → I made the decision for now to render blocks as the anonymous user, and remove any user-related cache contexts. This improves cacheability of the components endpoint and avoids leaking any authenticated or user-specific data in the block previews.
At some point, we probably want the previews to be more realistic and actually render as they would to the current user.
Remove the anonymous user switch and cache each block preview separately.
Dynamically build the components endpoint on the fly for each user where necessary.
Block previews will become more accurate.
Postponed
0.0
Page builder