27 - Query Result Caching
When working with data that rarely changes, caching query results can significantly improve your application's performance. This lesson explores different approaches to implement caching in Laravel applications
We found 18 results for "cache".
When working with data that rarely changes, caching query results can significantly improve your application's performance. This lesson explores different approaches to implement caching in Laravel applications
When working with large datasets that are complex to get or rarely change, we can use caching to reduce the load on our database. For this, we will use the Cache class. In the examples, we will try to optimize the database call that takes 10 000 records from it.
Caching with Redis is one of the common requirements in Laravel job descriptions. But it's not complicated at all, this tutorial will show you the fundamentals.
Let's take a look at a demo project trying to simulate a social network feed: the algorithm, the Eloquent query, the DB queries, and one method to optimize it to avoid more DB joins every time.
What if you want to create an API endpoint that would be public for the whole world? In this video, I will live-code exactly that, including some performance and security measures.
How to store query results into the cache for some time, so Laravel wouldn't even hit the database?
There's a new Cache feature called "Stale While Revalidate", which I personally prefer to call flexible cache.
Speed up a Laravel app by caching the entire response
A Redis based, fully automated and scalable database cache layer for Laravel.
Files in the example:
Files in the example:
Files in the example:
Files in the example:
Files in the example:
Files in the example:
Files in the example:
Files in the example:
Files in the example: