Project

General

Profile

Actions

Bug #82958

closed

Fluid removes the esi:include tags required for varnish caching

Added by SICOR KDL GmbH over 6 years ago. Updated over 5 years ago.

Status:
Closed
Priority:
Should have
Assignee:
-
Category:
Fluid
Target version:
-
Start date:
2017-11-09
Due date:
% Done:

0%

Estimated time:
TYPO3 Version:
8
PHP Version:
7.1
Tags:
Complexity:
Is Regression:
Sprint Focus:

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...

Actions #1

Updated by SICOR KDL GmbH over 6 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
Actions #2

Updated by Claus Due over 6 years ago

Did you also try `{namespace esi}` to mark the namespace as known but ignored by Fluid?

Actions #3

Updated by SICOR KDL GmbH over 6 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.

Actions #4

Updated by Georg Ringer about 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

Actions #5

Updated by Claus Due about 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.

Actions #6

Updated by SICOR KDL GmbH about 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.

Actions #7

Updated by Benni Mack over 5 years ago

  • Status changed from Resolved to Closed
Actions

Also available in: Atom PDF