Laravel filament app is running slow ?

Recently, while i was working on my laravel app, i found my pages being slow. it took 10 seconds to resolve each endpoint from browser. Interestingly, while using api, i didn’t face anything like that.

As i checked using laravel-debugbar, i could not find much information related to slowing of application.

I also tried changing the database from mysql to postgresql because our application was a multi-tenant and we might have complex query.

But nothing worked and the problem was untraced.

So did we find the solution ?

Yes, The problem was not anything related to laravel app or database. It was the “adblock plus extention” that was causing the problem. As we disabled it, the application was running smooth as before.

For now, we added a whitelist on adblock plus. but as we go through the adblock policies and how it works, we are scared of using it now.

Is adblock safe ?

Most of the adblock looks safe. But eventually, they all rely on the content that is on our screen. So if we are using adblock, we can’t say if they are taking those data somewhere. It is not wise to rely on thirdparty adblock unless you know how it works.