I would like to output additional data in most content elements (mostly fluid_styled_content
) in the frontend for logged-in backend users (editing links for the CEs, additional information). The first idea was to insert additional Fluid code within <f:be.security.ifAuthenticated>
. In theory this does the right thing, but the result is cached (bad: BE users might not see the additional data, others might see it). How does one work around this?
Ideas:
Requirements for a solution:
You could deactivate the page cache for logged in backend users with a TypoScript condition:
[backend.user.isLoggedIn]
config.no_cache = 1
[global]
That seems excessive and there should be better solutions.
Ideas:
FLUIDTEMPLATE
in a COA_INT
(see this SO post) (this would only disable caching for that FLUIDTEMPLATE
)<f:cache.disable>
around the condition help? I found these to have no effect in plain content elements (FLUIDTEMPLATE
), though.<vhs:render.uncache>
help?