Caching & Redis Performance

Laravel Caching Masterclass: Cache, Redis & Performance

Speed up Laravel apps with caching and Redis: TTLs, invalidation, atomic locks, full-page caching and cache performance analytics.

Laravel Caching Masterclass: Cache, Redis & Performance

Who this course is for

  • Laravel developers who want to improve their application's performance with caching
  • PHP and Laravel developers interested in learning Redis from a practical perspective
  • Backend developers who want to build faster and more scalable web applications
  • Developers who want hands-on experience with Laravel caching and Redis through real-world examples

What you'll learn

  • Understand the core concepts of caching in Laravel
  • Learn how caching improves application performance
  • Store, retrieve, update, and remove cached data
  • Configure Laravel cache drivers and cache settings
  • Work with cache expiration (TTL) effectively
  • Prevent stale data using cache invalidation and refresh techniques
  • Apply cache key naming best practices
  • Build real-world caching solutions in Laravel applications
  • Implement full-page caching to improve page load times
  • Monitor cache hits, misses, and cache warming
  • Analyze cache performance using Laravel cache events
  • Prevent race conditions with Laravel atomic locks
  • Integrate Redis with Laravel as a cache driver
  • Manage and debug Redis using Redis CLI and RedisInsight
  • Understand Redis memory management, eviction policies, and cache analytics
  • Build faster, scalable, and production-ready Laravel applications with caching and Redis

Topics covered

An overview of the main modules. See the course page on Udemy for the full, up-to-date curriculum.

1

Introduction

2

Core Caching Concepts

3

Cache Configuration and Storage Basics

4

Reading & Retrieving Cached Data

5

Cache Maintenance & Optimization

6

Applying Cache in a Real Laravel Project

7

Atomic Locks & Race Conditions

8

Getting Started with Redis in Laravel

9

Using Redis as Laravel's Cache Driver

10

Redis Beyond Caching

11

Redis Key Inspection and Debugging

12

Redis Memory Management

13

Redis Cache Analytics

14

Finalizing the course

Prerequisites

  • Basic understanding of the Laravel framework
  • Familiarity with routes, controllers, models, and Blade templates
  • A local development environment such as Laragon, XAMPP, Herd, or Laravel Sail
  • No prior knowledge of caching or Redis is required we'll cover everything from the ground up

Your instructor

Mahmoud Anwar

Mahmoud Anwar

Senior Laravel/PHP developer and technical educator specializing in backend engineering, with 21+ programming courses created for developers worldwide.

More about Mahmoud
Keep going
Next step

Have a technical challenge?

Tell me about your application, your goals and your constraints. We'll work out the right next step together.