#95881Fluid cache.disable not working as expected
Description
Putting the following code in my Fluid Template I expected the time to get updated in the frontend each and every time.
Works only, if I do a force-refresh (STRG-F5 on Windows) and only, when logged into the backend.
Once I logged out of the backend, the output never changed except for adding parameter “?no_cache=1”
<f:cache.disable>
<f:format.date date="now" format="d.m.Y - H:i:s" />
</f:cache.disable>Reviews 0
No change resolves or names this issue in its commit message, and no comment links one.
History 3
-
Stefan Bürk commented 11/14/21, 19:20
-
Simon Praetorius commented and changed status
NewResolved 06/19/23, 09:32I’m closing this as the issue doesn’t seem to be related to Fluid. If that’s not the case, feel free to comment here and I’ll reopen the issue.
-
Benni Mack changed status
ResolvedClosed 07/09/24, 12:45
As the documentation says, this viewhelper only disable the template compiling. The name is eventually confusing, as it do not create a “uncached part” like USER_INT things, and also do not prevent page cache.
As such, your described behaviour is the intended behaviour.
See https://docs.typo3.org/other/typo3/view-helper-reference/10.4/en-us/typo3fluid/fluid/latest/Cache/Disable.html#cache-disable