![]() |
i read to minify codeigniter 4 on https://gitlab.irbidnet.com/-/snippets/3 , but i dont understand and dont work
go to app/Config/Events.php PHP Code: //minify html output on codeigniter 4 can someone demo this code? thank you very much
It does not seem the code works.
It is better to port the CI3 code to CI4 Controller Filter. https://thedebuggers.com/minify-html-cod...ing-hooks/ See https://codeigniter4.github.io/CodeIgnit...er-filters
This is working for HTML output minification in the production environment.
Code: <?php |
Welcome Guest, Not a member yet? Register Sign In |