Technote

WordPress know-how, from real work Technotes worth picking

4 articles· Performance optimization · Developers

Performance optimization Practical

The object cache: what Redis actually removes

Repeated identical lookups disappear. One slow query does not. Miss that distinction and you will wire up Redis and then ask why nothing got faster.

Developers 7 min read

Performance optimization Practical

The N+1 problem: get_post_meta in a loop, and priming

WP_Query primes caches for its own results only. A hand-built list of IDs gets none of that for free — and that difference decides your query count.

Developers 7 min read

Performance optimization Intro

Reading a query profile: slow versus duplicated

They sit side by side in the same panel but they are not the same problem. One needs the query rewritten; the other disappears with a cache. Telling…

Developers 8 min read

Performance optimization Intro

Measure before you fix: the first thirty minutes

Optimising by intuition usually improves something. The trouble is that it was rarely the bottleneck. Start by splitting the request into segments and getting numbers.

Developers 7 min read

Cited

Technotes worth reading next

Topics outside WordPress are collected on Dongji Communication Tech Insights, run by the same team. The summaries below are quoted from the originals; the titles link to them.

See all tech insights

₩270,000 · Join the program