Bug #82958
closed
Fluid removes the esi:include tags required for varnish caching
Added by SICOR KDL GmbH almost 7 years ago.
Updated almost 6 years ago.
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...
- Subject changed from Fluid removes the esi:include tags for varnish caching to Fluid removes the esi:include tags required for varnish caching
Did you also try `{namespace esi}` to mark the namespace as known but ignored by Fluid?
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.
- 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
- 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.
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.
- Status changed from Resolved to Closed
Also available in: Atom
PDF