laravel-page-speed icon indicating copy to clipboard operation
laravel-page-speed copied to clipboard

How to disable page speed on error pages?

Open vaulient opened this issue 4 years ago • 1 comments

Hello there, I'm using the package on the latest version of Laravel and everything seems to be fine but just one problem.

Whenever I have an exception, the error exception page is totally blank. I know this package is meant to be for production purposes, but I was just wondering if there is a way to ignore the minification for the error pages?

Regards.

vaulient avatar Aug 01 '21 07:08 vaulient

Hi @vaulient

You can use skip routes to ignore the execution of page speeding given a matched URI. Take a look at https://github.com/renatomarinho/laravel-page-speed#skip-routes

lucasMesquitaBorges avatar Aug 11 '21 04:08 lucasMesquitaBorges