Laravel: 7 Steps to Dramatically Improve Performance
summary
Describes a real Laravel project that achieved roughly 10x faster average response times by combining Nginx proxy caching, Rememberable model-level caching, Redis-backed caching, and moving heavy work to queues (Redis/SQS) with Horizon. Also covers enabling Laravel Octane (Swoole/Roadrunner), upgrading PHP/Laravel, and gives concrete configs, rollout steps, before/after metrics, and remaining latency hotspots.
AI-written summary · about
chapters (18)
- 0:00Introduction
- 1:06Laravel 80% faster
- 3:01Common bottlenecks
- 6:00Caching case study
- 9:13Public API caching
- 11:29Pareto principle
- 13:05Redis query optimization
- 16:05Optimizing data output
- 17:55OPcache compilation
- 19:48Laravel with OPcache
- 21:58Performance results
- 23:26Query caching
- 25:56Session and singleton issues
- 28:57URL and header caching
- 30:12Blade HTML minify
- 31:14PHP and Laravel upgrades
- 33:06Async tasks and queues
- 37:287 steps summary
related talks
28mTaking Laravel to the edge with HTTP caching & Varnish
49mLaravel - If, how and why you should use it!
31mFrom Runtime to Resilience: Scaling PHP
01h 03mMaximising Performance With Zend Framework
48mMigrating a 15 Year Old Enterprise Application to Laravel: Lessons Learned and Opportunities Gained
30mTim Macdonald :: Thoughtful Performance
27mGetting Started with Profiling Laravel Code
48mBuilding Really Fast Applications
