neos-debug icon indicating copy to clipboard operation
neos-debug copied to clipboard

Caching information missing for uncached segments

Open ghost opened this issue 3 years ago • 3 comments

Caching information is only collected when the entryIdentifier contains a "format = 'html'", uncached elements do not contain a 'format' in the entryIdentifier, this is only mandatory for 'cached' or 'dynamic'.

Offending lines:

// Add debug data only to html output
$segmentFormat = $info['entryIdentifier']['format'] ?? null;

if ($segmentFormat !== 'html') {
    return $segment;
}

See commit: https://github.com/t3n/neos-debug/commit/b46cc519644fde67687019603d08677a6d963a7d

ghost avatar Nov 24 '21 10:11 ghost