Back

Most Laravel apps become slow for one simple reason:

too many hidden queries.

Add this once while developing:

Model::preventLazyLoading();

You’ll catch N+1 issues immediately instead of in production.

Laravel has so many small features like this that save hours later.
image

4

  • No matching results...
  • Searching...

/ 1000

Poll Options