Generating OG images at the edge on Cloudflare
Matt Rothenberg walks through how to generate dynamic Open Graph images on Cloudflare Workers. A practical guide covering the full setup from rendering to caching.
Read more [mattrothenberg.com]
Posts tagged with performance
Matt Rothenberg walks through how to generate dynamic Open Graph images on Cloudflare Workers. A practical guide covering the full setup from rendering to caching.
Read more [mattrothenberg.com]
Michael Dyrynda found that switching from fill() to set() in Livewire tests reduced his test suite from 22 seconds to 4 seconds. The difference: fill triggers a Livewire round-trip per field, while set batches them into one.
Read more [dyrynda.com.au]
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.
"Always fresh, useful tips and articles. Carefully selected community content. My favorite newsletter, which I look forward to every time."
Our laravel-responsecache package speeds up your app by caching entire responses on the server. When the same page is requested again, the cached response is served without hitting your controller at all.
We just released v8, a new major version with a powerful new feature: flexible caching. It uses a stale-while-revalidate strategy, so that every visitor gets a fast response, even when the cache is being refreshed.
Let me walk you through it.
Ray 3.0 is here! Completely rebuilt for better performance (60% less memory), a fresh new look, message archiving, and MCP support so AI agents can interact with Ray directly.
Read more [myray.app]
Brent continues his optimization journey processing 11 million database events. Starting from 50k events per second, he implements combined inserts, skips unnecessary deserialization, and reaches 400k events per second. A great deep dive into PHP performance optimization.
Read more [stitcher.io]
The final part of Oh Dear's series on SQL performance. Mattias introduces phpunit-query-count-assertions, a package that catches N+1 queries, duplicate queries, and missing indexes in your test suite. Since implementing this at Oh Dear, they've eliminated 15% of their SELECT queries.
Read more [ohdear.app]
– youtu.be - submitted by Bert De Swaef
Livewire 4 introduces powerful new features that make building Laravel applications even better.
Read more [youtu.be]
Using Laravel’s new traits, WithCachedRoutes and WithCachedConfig, you can significantly reducing test run times.
Read more [cosmastech.com]
Performance monitoring gives you a complete view of what's happening in your Laravel app. The dashboard tracks everything: HTTP routes, queued jobs, Artisan commands, and database queries.
Read more [flareapp.io]
– nabilhassen.com - submitted by Nabil Hassen
Laravel 12.35 introduces the deferred queue driver, allowing queued jobs to run right after the HTTP response is sent.
Read more [nabilhassen.com]
Mattias delves into optimizing SQL queries using indexes, focusing on MySQL 8.0. He explains how indexes work, how to analyze slow queries using MySQL’s EXPLAIN keyword, and the impact of different index configurations on query performance.
Read more [ohdear.app]
At Oh Dear, my colleague Mattias recently vastly increased the performance of our service. Here's how he did it.
Read more [ohdear.app]
You can now use our MCP server to connect your AI agent to Flare. This way your AI has all context it needs to diagnose and fix production and performance problems of your PHP, JavaScript and Laravel projects.
In this blog post I’d like to tell you how you can use it, and how it works under the hood.
Read more [flareapp.io]
– nabilhassen.com - submitted by Nabil Hassen
The new scout:queue-import command splits your model’s ID range into chunks and queues jobs for each, enabling faster indexing of large datasets.
Read more [nabilhassen.com]
– ryangjchandler.co.uk - submitted by Ryan Chandler
SQLite's WAL mode makes using SQLite database much more production-ready.
Read more [ryangjchandler.co.uk]
At Laracon US Caleb Porzio announced Livewire 4, which comes with unified components, performance improvements, and many more awesome goodies
Read more [devdojo.com]
– tighten.com - submitted by Kayla Helmick
Learn how to use SQL generated columns and database views in Laravel to simplify queries, boost performance, and make your data easier to filter, sort, and reuse across your application.
Read more [tighten.com]
Some interesting thoughts about caching.
Read more [buttondown.com]
A nice touch by Joel Clermont
Read more [masteringlaravel.io]
A bottleneck isn’t inherently bad, we all have them. What matters is making sure your biggest bottleneck is always working at it’s most optimal conditions. That’s where your optimizations should be focused.
Read more [benmckay.com]