Bug #79542
closedFluid command <f: switch> very slow
100%
Description
There seems to be a problem with the fluid <f: switch> - performance is horrible.
Try to go into the "Log" module in the backend - very sloooow
Updated by Gerrit Code Review over 7 years ago
- Status changed from New to Under Review
Patch set 1 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/51464
Updated by Anja Leichsenring over 7 years ago
just for the records: slow is NOT broken. Please adjust the issue title accordingly. Thank you.
Updated by Claus Due over 7 years ago
The ViewHelper isn't broken as such - but it does intentionally disable template compiling. The reason:
- The TYPO3 CMS specific version of `f:switch` was initially removed in favor of the one that ships with Fluid itself (in an attempt to limit the number of overrides TYPO3 provides)
- A backwards compatibility issue was determined to be too severe to simply drop the ViewHelper (arguments are different on Fluid's `f:switch`).
- The ViewHelper was reinstated, but was not marked as deprecated.
Properly deprecating the ViewHelper would be the appropriate solution to that problem. But solving this problem is possible by simply avoiding `f:switch` in the template, which is easily done.
Updated by Georg Ringer over 7 years ago
- Subject changed from Fluid command <f: switch> broken to Fluid command <f: switch> very slow
Updated by Anonymous over 7 years ago
- Status changed from Under Review to Resolved
- % Done changed from 0 to 100
Applied in changeset 8093cb002f3c63e0eca3dc381a5556f57de29298.
Updated by Riccardo De Contardi over 6 years ago
- Status changed from Resolved to Closed