WordPress Developer Ukraine, Kyiv
WordPress Performance Audit Checklist for 2024

WordPress Performance Audit Checklist for 2024

A WordPress performance audit checklist Performance work on WordPress sites often starts with a caching plugin and a vague feeling, and ends without knowing what helped. An audit turns it around: measure first, go through the layers from the server to the browser, write down what is wrong, and fix the biggest problem first. This…
Cache Expensive Operations with the WordPress Transients API

Cache Expensive Operations with the WordPress Transients API

Cache expensive operations with the WordPress Transients API The Transients API stores cached data with an expiration time. The same set_transient() and get_transient() calls use the wp_options table on a default install and memory (Redis, Memcached) when a persistent object cache is active, without any code changes. Good candidates are remote API responses, heavy WP_Query…
Lazy Load Images and Iframes in WordPress with the Native Loading Attribute and IntersectionObserver

Lazy Load Images and Iframes in WordPress with the Native Loading Attrib ...

Lazy load images and iframes in WordPress with the native loading attribute Since WordPress 5.5, images printed through the_content(), the_post_thumbnail() and wp_get_attachment_image() get loading="lazy", and since 5.7 iframes too. The browser then downloads off-screen images only when the visitor scrolls near them, without any JavaScript, which saves a lot of traffic on image-heavy pages. All…
Reduce WordPress Time to First Byte with Object Caching and Redis

Reduce WordPress Time to First Byte with Object Caching and Redis

Lower WordPress TTFB with Redis as a persistent object cache WordPress caches options, posts, terms and user data in memory, but only for one request. The next request asks MySQL again. A persistent object cache keeps these values in Redis between requests, so a page that needed 80 queries needs 10. It helps where a…