Make page header and footer rendering configurable
At the moment, the IntObjectRenderer always puts page header and footer (configured JS/CSS resources) around each rendered cObj. This happens in https://github.com/IchHabRecht/intcache/blob/master/Classes/Renderer/IntObjectRenderer.php#L55
However, in most cases those are already supplied by the surrounding page, duplicating them for each cObj replaced by intcache.
Could you make that configurable, either through opt-in or opt-out (to stay BC-compatible)? At the moment we have to patch the IntObjectRenderer, removing the trips to the PageRenderer in order to make the overall process work.
Hi @tehplague,
Thank you for your report. Would you mind to share more information about your setup? The extension is configured to not any page resources due to the usage of an own page type. Only resources that are registered within the INT objects are output as those are needed and not delivered before.