When your content is popular, you'll have all kinds of scrapers trying to copy it and outright steal it. Read about how we defended ourselves with help from the White House, 10 Downing Street, and Willy Wonka.
Déjà vu is a relatively harmless sensation for humans, but what happens when our APIs relive the same moment over and over? Nothing good! Fortunately, help is at hand. Find out what idempotency is, why it's so important, and how suspiciously simple it is to add idempotency support to our apps.
Stripe metadata is great for config, entitlements, and... DNS? This experiment takes one good API feature and stretches it into the worst possible infrastructure layer.
Lazy loading of images helps to radically speed up initial page load. Rich site designs often call for background images, which can't be lazily loaded in the same way. How can we keep our designs, while optimising for a fast initial load?
Using Cloudflare Workers we can quickly build an effective API proxy, without spinning up any additional hardware. Whether its needing a CORS proxy, speeding up slow APIs via caching, or rate limit management on stingy APIs, this serverless tech is as easy to set up as it is powerful.
Rolling averages are perfect for smoothing out time-series data, helping you to gain insight from noisy graphs and tables. This new package adds first-class support to Laravel Collections for rolling average calculation.