Black Friday: the Laravel testing course is $149 instead of $249, through Dec 7. See the course →
logo

The benefits of Laravel caching in CI

And it's not for performance reasons

Joel Clermont
Joel Clermont
2025-12-26

From our daily Laravel tips email. Get the next one in your inbox.

In the last video, I explained why caching locally is a bad idea. But CI is a different story.

The benefit isn't speed. It's catching subtle bugs where code behaves differently with route caching enabled.

In today's video, I demonstrate a real example where tests pass locally but would fail in production.

Watch Now (6 min)

And after watching, don't forget to subscribe to our YouTube channel, so you don't miss future videos.

Here to help,

Joel

P.S. Of course, you need tests to catch these bugs in CI. Ready to level up your testing skills? Check out our testing course.

Want a tip like this in your inbox every weekday?

Each one takes less than 2 minutes to read. Join 4,000+ Laravel developers who already get them.

email
No spam. Only real-world advice.
Toss a coin in the jar if you found this helpful.