Laravel 12.35, weekly updates, and weekly tip

Laravel 12.35

This week brings us to Laravel 12.35.0. Here are the highlights:

  • Add SQS FIFO and fair queue messageGroup() in #57421
  • Introduce deferred queue in #57428
  • Fix passing countable to Number::format() in #57434
  • Introduce failover cache in #57430

You may review the full branch diff on GitHub for a complete list of changes.

Weekly Journal

Girls still had a few days off last week. So I only managed a bit of work and a quick livestream. But, in that livestream I mended a small papercut on Laravel's new exception page (#57400).

I also continued to cache the crap out of laravelshift.com. I am now 98% cached. To get that last 2%, I'm getting into some more advanced stuff.

With the rest of the week I plan to finish up a Human Shift, then practice my Wire:Live talk for next Tuesday.

Weekly Tip

On the tangent of caching, what if your web server only received requests for your application? It sounds obvious. But your web server is slammed with invalid requests (just check your logs).

As a way to reduce traffic to my web server, I created a Cloudflare security rule to block any requests that are invalid. This is a known set of paths. Basically route:list and whatever is in your public folder.

JT Smith wrote a quick command that can generate this rule for you. I tweaked it a bit for some redirects, but otherwise pasted and enabled it in Cloudflare. In the past week, it's blocked over 20,000 invalid requests.

For more detail, check out my article on Laravel News.