Photo by Henri L. on Unsplash
It's not always easy to profile each step of a loop for long running tasks, but Symfony Stopwatch provides a way to do so fairly easily.
N+1 queries are among the most common performance bottlenecks around. Learn how to find them with profiling tools.
HTTP has multiple different verbs, and understanding the right ones to use can make it easier to cache the responses.
Laravel's queue implementation can be very helpful for improving performance, but it's easy to miss many good use cases
Out of the box, Laravel supports a simple method of adding appropriate caching headers to HTTP responses to prevent unnecessary HTTP requests.
If you're logged into your application, it may be making unnecessary repeated requests to fetch the user. Learn how to cache the user to eliminate this.
Any dependencies in a controller can potentially slow down the response time. By managing them effectively, you can reduce their impact.