Quick Laravel Performance Wins.
A course on quick performance wins
you can implement right now.
Sign up for immediate access!
Get the Course
There are some super common reasons your Laravel app might be slow.
This course shows you how to avoid speed issues with simple changes you can implement immediately.
We cover some built-in caches that Laravel provides (and how they work) to help speed things up in production.
Querying the Database
How you query the database is especially important. We cover avoiding the n+1 problem and how to handle queries that return lots of data.
Adding indexes to your database is one of the most effective performance tools you can use. See how to create them here.
Using a object cache such as redis can help us avoid making expensive database queries on every page request. See how I implement caching in-code!
The Optimize Command
Learn how the optimize command speeds up Laravel.
The Route Cache
Use the route cache to skip route compilation on each request.
The Config Cache
Use the config cache to reduce configuration parsing & see its caveats.
Use eager loading and avoid the dreaded n+1 query problem.
Reduce memory usage on queries returning lots of data.
MySQL Indexing I
We cover the sample application and the queries it makes.
MySQL Indexing II
We cover what a database index is & show creating a basic index.
MySQL Indexing III
We show how to improve our app’s slow queries with indexes.
Object Caching I
We discuss and configure object caching.
Object Caching II
We add a naive implementation of caching.
Object Caching III
We use the Decorator pattern to add caching to our app.
Object Caching IV
We discuss ways to reduce memory usage in Redis.
© 2017 – Fideloper LLC – A Servers for Hackers Series
Source: Performant Laravel