MarelPup

Results 5 comments of MarelPup

Hi @nochso the repo is silent since 2017 , is our best option implementing the dependency https://packagist.org/packages/wyrihaximus/html-compress using kernel.response as such ? https://stackoverflow.com/a/72082233 https://symfony.com/doc/current/event_dispatcher.html#before-filters-with-the-kernel-controller-event

strange, considering ```php public function __construct($forceCompression = false) { $this->forceCompression = $forceCompression; $this->parser = Factory::constructSmallest(); $this->callable = array($this, 'compress'); } public function compress(Twig_Environment $twig, $html) { if (!$twig->isDebug() || $this->forceCompression)...

It's ok, i had already moved to a homemade solution when writing my first comment , i think i'll use this solution

yes, I use kernel.response , as cited in the stackoverflow link

Building this fork on arch with rust works for me