Outsource Laravel Development Partner - $3200/Month | Bacancy

Fast Laravel Course Launch

Last updated on by

Fast Laravel Course Launch image

Last July, I went on a quest to optimize laravelshift.com using Cloudflare services. I had been meaning to look into Cloudflare for a while. I just kept putting it off.

Being a web developer for over 25 years, I knew if I wanted to make my Laravel app fast, I should focus on page caching. Processing a request will always be slow. No matter how much you optimize the code. No matter how much you tune your database queries. The fastest way to process a request is to not process it at all.

This brought me back to Cloudflare, as caching responses is one of their main services. It's available on the free plan. And, even better, they don't just cache the response, they cache it at the edge. So, the response is even faster because it's served from a server geographically closer to you.

Unfortunately, when I finally researched caching pages for a Laravel app with Cloudflare, nothing worked. Well, one worked — but it was doing it all wrong. Initially I shared my findings in a tweet. When this received a (relatively) high number of views, I wrote an article for Laravel News.

Using this static middleware group provided a much better foundation. It explicitly registers cacheable routes and limits any footgun scenarios. But I still needed to make pages cacheable. While some pages are immediately cacheable (e.g. FAQ, Privacy Policy, etc), others need tiny refactors to make them cacheable.

As I continued on my quest to cache as many pages as possible, I used a number of different strategies. I continued to tweet my findings, write more Laravel news articles, even livestream. Yet it was clear I had a lot of content.

I haven't made a video course in a while. My last was Confident Laravel on writing tests for Laravel apps. I really only make courses when I feel there's a knowledge gap. This time, I felt there was a gap optimizing your Laravel app with Cloudflare services. So, I filled it with a new video course - Fast Laravel.

I went back and reviewed all the changes I made for laravelshift.com to take it from 6% cached to 99% cached. I organized them into this five-lesson video course, where we'll:

  • Understand how caching works and how we'll use Cloudflare
  • Optimize and cache assets that do not change
  • Configure your Laravel app for caching pages
  • Learn quick refactors to make pages cacheable
  • Push even further with advanced caching strategies

By the end of the course, you'll have everything you need to improve the response times for your Laravel app — all using free services from Cloudflare.

I've already had multiple viewers tell me how much they learned from the course. One viewer reported updating their landing page to respond in 40ms! So, if you're looking to make your Laravel app fast, check out Fast Laravel.

What this course is not…

This course is not about code or database optimization. While those are ways to speed up your Laravel app, the course focuses specifically on caching responses with Cloudflare. As noted above, caching responses will always outperform lower-level optimizations.

Filed in:
Cube

Laravel Newsletter

Join 40k+ other developers and never miss out on new tips, tutorials, and more.

image
Tinkerwell

Enjoy coding and debugging in an editor designed for fast feedback and quick iterations. It's like a shell for your application – but with multi-line editing, code completion, and more.

Visit Tinkerwell
Curotec logo

Curotec

World class Laravel experts with GenAI dev skills. LATAM-based, embedded engineers that ship fast, communicate clearly, and elevate your product. No bloat, no BS.

Curotec
Bacancy logo

Bacancy

Supercharge your project with a seasoned Laravel developer with 4-6 years of experience for just $3200/month. Get 160 hours of dedicated expertise & a risk-free 15-day trial. Schedule a call now!

Bacancy
Tinkerwell logo

Tinkerwell

The must-have code runner for Laravel developers. Tinker with AI, autocompletion and instant feedback on local and production environments.

Tinkerwell
Get expert guidance in a few days with a Laravel code review logo

Get expert guidance in a few days with a Laravel code review

Expert code review! Get clear, practical feedback from two Laravel devs with 10+ years of experience helping teams build better apps.

Get expert guidance in a few days with a Laravel code review
PhpStorm logo

PhpStorm

The go-to PHP IDE with extensive out-of-the-box support for Laravel and its ecosystem.

PhpStorm
Laravel Cloud logo

Laravel Cloud

Easily create and manage your servers and deploy your Laravel applications in seconds.

Laravel Cloud
Kirschbaum logo

Kirschbaum

Providing innovation and stability to ensure your web application succeeds.

Kirschbaum
Shift logo

Shift

Running an old Laravel version? Instant, automated Laravel upgrades and code modernization to keep your applications fresh.

Shift
Harpoon: Next generation time tracking and invoicing logo

Harpoon: Next generation time tracking and invoicing

The next generation time-tracking and billing software that helps your agency plan and forecast a profitable future.

Harpoon: Next generation time tracking and invoicing
Lucky Media logo

Lucky Media

Get Lucky Now - the ideal choice for Laravel Development, with over a decade of experience!

Lucky Media
SaaSykit: Laravel SaaS Starter Kit logo

SaaSykit: Laravel SaaS Starter Kit

SaaSykit is a Multi-tenant Laravel SaaS Starter Kit that comes with all features required to run a modern SaaS. Payments, Beautiful Checkout, Admin Panel, User dashboard, Auth, Ready Components, Stats, Blog, Docs and more.

SaaSykit: Laravel SaaS Starter Kit

The latest

View all →
`hasSole()` Collection Method in Laravel 12.49.0 image

`hasSole()` Collection Method in Laravel 12.49.0

Read article
Install Laravel Package Guidelines and Skills in Boost image

Install Laravel Package Guidelines and Skills in Boost

Read article
Bagisto Visual: Theme Framework with Visual Editor for Laravel E-commerce image

Bagisto Visual: Theme Framework with Visual Editor for Laravel E-commerce

Read article
Clawdbot Rebrands to Moltbot After Trademark Request From Anthropic image

Clawdbot Rebrands to Moltbot After Trademark Request From Anthropic

Read article
Automate Laravel Herd Worktrees with This Claude Code Skill image

Automate Laravel Herd Worktrees with This Claude Code Skill

Read article
Laravel Boost v2.0 Released with Skills Support image

Laravel Boost v2.0 Released with Skills Support

Read article