Supercharging Rate Limiting with Cloudflare
By implementing rate limiting at the edge, “dead requests” can be reduced.
Read more [james.brooks.page]
Posts tagged with performance
By implementing rate limiting at the edge, “dead requests” can be reduced.
Read more [james.brooks.page]
– infinitypaul.medium.com - submitted by Paul Edward
Here's how a unsuspicious validation rule can wind up making your app slower.
Read more [infinitypaul.medium.com]
Join 9,500+ smart developers
Get my monthly newsletter with what I learn from running Spatie, building Oh Dear, and maintaining 300+ open source packages. Practical takes on Laravel, PHP, and AI that you can actually use.
No spam. Unsubscribe anytime. You can also follow me on X.
"Freek publishes a super resourceful and practical newsletter. A must for anyone in the Laravel space"
– youtu.be - submitted by Bert De Swaef
In this short video, we break down the key differences between Pass by Value and Pass by Reference in PHP. 🚀 Understanding these two concepts is essential for writing efficient and bug-free code. Learn how PHP handles variables when passed to functions, and see how small changes in your code can have a BIG impact on performance and behavior! 🔍
Read more [youtu.be]
Here's everything what a browser does to display the content of an URL.
Read more [abhisaha.com]
A polyglot architecture combines PHP and GoLang to leverage their strengths. PHP enables rapid development, while Go optimizes resource utilization.
Read more [themsaid.com]
– www.harrisrafto.eu - submitted by Harris Raftopoulos
Laravel's accessor caching with shouldCache() boosts performance by preventing repetitive computations for expensive accessors. Additionally, you can work with complex data like addresses using value objects, and Laravel will auto-sync changes back to the model. This improves code efficiency and maintainability, especially for structured data.
Read more [www.harrisrafto.eu]
– koomai.net - submitted by Sid
A detailed look at how Laravel's defer() helper works.
Read more [koomai.net]
– geoligard.com - submitted by Goran Popović
See how to easily modify and override methods found in the framework's Request class in order to handle specific routes with sizeable payloads.
Read more [geoligard.com]
– qirolab.com - submitted by Harish Kumar
At Laracon US 2024, Taylor Otwell and the Laravel team introduced a series of "minor" features for Laravel 11 that are anything but minor.
Read more [qirolab.com]
– phare.io - submitted by Nicolas Beauvais
Learn how to use downsampling to show time series data while providing the right balance between user experience, and performance.
Read more [phare.io]
When a single-page application needs to fetch data from a remote source, it needs to do so while remaining responsive and providing feedback to the user during an often slow query. Five patterns help with this
Read more [martinfowler.com]
– mateusguimaraes.com - submitted by Mateus Guimarães
Let's dive on how to enable OPCache and fine-tune php-fpm to handle the most requests as possible on a given machine.
Read more [mateusguimaraes.com]
– ryangjchandler.co.uk - submitted by Ryan Chandler
Composer's 30 second execution timeout can get in the way of long-running processes executed from a script. This is how you disable it.
Read more [ryangjchandler.co.uk]
– lukapeharda.com - submitted by Luka Peharda
Read how I fixed performance issues when refactoring and optimising legacy code with method signature inconsistency, done unintentionally by developer
Read more [lukapeharda.com]
– geoligard.com - submitted by Goran Popović
PHP-FPM config files usually aren't something that you give too much attention to until something goes wrong. Here's what you can do when that time comes.
Read more [geoligard.com]
At Oh Dear we've updated the OS on our servers and discovered a pretty nice side effect.
Read more [ohdear.app]
– chriswhite.is - submitted by Chris White
I'll show you how to run Laravel Octane with the new FrankenPHP support inside a Docker container to serve your Laravel application.
Read more [chriswhite.is]
– tighten.com - submitted by Jamison Valenta
When it comes to caching, we have to balance performance gains with increased cost of complexity and infrastructure. In our latest post, we talk through a few different caching strategies and approaches so you know the best caching tool for any situation.
Read more [tighten.com]
– pestphp.com - submitted by Nuno Maduro
The PEST team just announced the release of a brand new plugin for Pest PHP: Stressless.
Read more [pestphp.com]