Subsetting, font-display, and the wp_preload_resources filter: a complete recipe for fonts that are private, fast, and stable, including the crossorigin gotcha.
- Post Tagsfonts, Performance, self-hosted
Subsetting, font-display, and the wp_preload_resources filter: a complete recipe for fonts that are private, fast, and stable, including the crossorigin gotcha.
curl said the page was fresh. Browsers got a twelve-hour-old copy. Tracing one stale page through Cloudflare APO, nginx srcache, and the Redis object cache.
How I traced 230ms of Total Blocking Time to a canvas animation and a 0.129 layout shift to a font swap, and fixed both with a few lines of code.
The WordPress REST API offers incredible flexibility for headless setups, mobile apps, and custom admin interfaces. However, without proper optimization, API requests can become sluggish, especially as your site grows. In this post, I’ll share techniques to reduce response time and payload size for WordPress REST API endpoints based on real-world implementations. Understanding REST API … Continue reading Optimizing WordPress REST API for Better Performance