In this episode of the Quick Win Wednesday series, we’re taking a look at whereAny(), which was released with Laravel 10.47.
A very elegant way of grabbing data based on a conditional “any of the following columns”.
PHP
Caching get_certificate lookups in Caddy
Mattias open sourced a small Caddy module that caches get_certificate HTTP lookups, avoiding a backend fetch on every TLS handshake. A nice write-up on the problem, the design, and the trade-offs. Read more