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

Don't cache routes or views locally

Great for production, but trouble for development

Joel Clermont
Joel Clermont
2025-12-19

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

Route and view caching - great for production, but I've seen it trip up developers locally more times than I can count.

In today's video, I share a story from a recent pairing session where a developer had caching enabled locally without even realizing it. It wasn't the cause of their bug, but it definitely complicated debugging.

Watch Now (2 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. Next time you bump into a weird "head-scratcher" bug, don't forget about our Get Unstuck calls.

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.