Optimizing PHP for performance
– 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]
Posts tagged with performance
– 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]
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’s newsletter is one of the best ways to stay updated with the Laravel and PHP ecosystem. It consistently highlights useful packages, tools, and ideas from the community, especially the amazing work coming from Spatie. As a Laravel developer building SaaS and web platforms, I find it extremely helpful to discover practical tools and insights that improve my development workflow."
– 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]
– myray.app - submitted by Spatie
Learn how to detect and resolve N+1 issues in your Laravel project by using Ray.
Read more [myray.app]
– rias.be
Stale While Revalidate (SWR) is a strategy to first return the data from the cache, then send the fetch request, and finally come up with the up-to-date data.
Read more [rias.be]
– blog.shahryartayeb.com - submitted by Shahryar
In this blog post, you will learn what event delegation is, how it can help you optimize your JavaScript code by reducing the number of event listeners, and how to implement it with a practical example.
Read more [blog.shahryartayeb.com]
– www.eloquentarchitecture.com - submitted by John Freeman
We have an export feature that can build an Excel file over the course of many background jobs. Worked beautifully for years. Man, those were the days.
Read more [www.eloquentarchitecture.com]
– fideloper.com - submitted by Chris Fidao
How to use Nginx Unit to server your Laravel application. It turns out, we can get rid of PHP-FPM, and run our apps more efficiently. We see how, and go over the pros and cons.
Read more [fideloper.com]
Tim McDonald explains Laravel's cool whenQueryingForLongerThan method.
Read more [timacdonald.me]
Personally, I've never done this, as it feels like a micro-optimizations, but still good to know.
Read more [www.deviaene.eu]
If you’re about to build a web app and you’re pretty sure it requires JavaScript, why not pause and consider whether you can provide a read-only version.
Read more [adactio.com]
– fly.io - submitted by Kathryn Anne Tan
In this article we remove the need to get entire datasets in order to make Client Side Pagination work. Instead, we get the dataset in lighter, less heavier parts!
Read more [fly.io]
– chriswhite.is - submitted by Chris White
I'll show you how to generate a ZIP export of an arbitrary numbers of files in an S3 bucket in a fast and memory efficient way, so you don't go OOM.
Read more [chriswhite.is]
The laravel-data package is fantastic to work with, but it also adds a lot of complexity when outputting data. In this blog post, we will look at how we've improved the performance of the package and, thus, the complete Flare application.
Read more [flareapp.io]