What do you use to minify your css and js?
I use a /min folder and added the files from here. https://github.com/mrclay/minify
Then use this in my template to minify multiple files:
<link href="/min/?f=/theme/css/style.css,/theme/css/custom.css" rel="stylesheet">
It works very well but it seems to be buggy when using PHP8. I don't use any plugin to minify so not sury why it happens. Sometimes when clicking on the minified link its blank and after refresh is shows the minifyed files.. So my site looks broken because the CSS is not loaded. Never had any issues < PHP 8.
So thinking about using an other plugin to minify.
Anyone got a tip?