Bug #82958
closedFluid removes the esi:include tags required for varnish caching
0%
Description
Hello there,
no matter what we do, when we insert an esi:include tag, fluid will remove it. We tried everything: Various namespaces, typoscript, any f:format, vhs viewhelpers - we even wrote our own viewhelper for it. The only workaround we found so far, is the following hack:
<esi:include src='https://customer.com/index.php?id=2&type=24853055'<f:format.raw> /</f:format.raw>>
Notice how we deliberately break the self-closing braket for the desired effect...
Updated by SICOR KDL GmbH almost 7 years ago
- Subject changed from Fluid removes the esi:include tags for varnish caching to Fluid removes the esi:include tags required for varnish caching
Updated by Claus Due almost 7 years ago
Did you also try `{namespace esi}` to mark the namespace as known but ignored by Fluid?
Updated by SICOR KDL GmbH almost 7 years ago
We tried that and get an error message again, since it'll try to load a non-existing "esi" Viewhelper then. I think last year we even tried to write a dummy viewhelper at some point, but it didn't solve the problem either.
Updated by Georg Ringer over 6 years ago
- Status changed from New to Needs Feedback
Please restest with latest 8.7 as fluid has been updated in the meantime. Providing {namespace esi}
works for me
Updated by Claus Due over 6 years ago
- Status changed from Needs Feedback to Resolved
I think we can safely close this one as solved (and it has been for a while now). If you didn't use composer to install TYPO3 then the fix was not included until recently - but it is definitely in the newest release.
Updated by SICOR KDL GmbH over 6 years ago
Unfortunately the project went live by now, so we can no longer just swap the source and test. We should have a follow up project later in the year where we can try again on a parallel installation.