renatomarinho / laravel-page-speed

Package to optimize your site automatically which results in a 35%+ optimization
MIT License
2.4k stars 275 forks source link

CollapseWhitespace class is showing blank page #180

Open junaidusmani opened 1 year ago

junaidusmani commented 1 year ago

Hello I am using this package with laravel 10. I have installed this package using composer. This package is working on localhost but when i upload it shared hosting it's showing the blank page of my website. I found the problem when i did comment this class on "//\RenatoMarinho\LaravelPageSpeed\Middleware\CollapseWhitespace::class, " in kernel.php file then it's again working. I don't know what's reason behind collapse whitespecs class?

Would you like to suggest me about this problem?

emkcloud commented 7 months ago

Hello I am using this package with laravel 10. I have installed this package using composer. This package is working on localhost but when i upload it shared hosting it's showing the blank page of my website. I found the problem when i did comment this class on "//\RenatoMarinho\LaravelPageSpeed\Middleware\CollapseWhitespace::class, " in kernel.php file then it's again working. I don't know what's reason behind collapse whitespecs class?

Would you like to suggest me about this problem?

https://github.com/renatomarinho/laravel-page-speed/issues/116#issuecomment-1925430433