·
11 min
How to Cache Expensive Queries in Laravel
Learn to cache Laravel queries the right way: Cache::remember, TTLs, cache keys, Redis tags, and invalidation that doesn't serve stale data.
3 Articles
Learn to cache Laravel queries the right way: Cache::remember, TTLs, cache keys, Redis tags, and invalidation that doesn't serve stale data.
Fix the Eloquent N+1 problem for good: why lazy loading in a loop kills performance, how to detect it, and eager loading patterns that scale.
Why the PHP maximum execution time exceeded error happens, how max_execution_time, set_time_limit and ini_set differ, and the real fix.