cache insights

Steven Avery

Facebook Conversation{"tn":"R"}

We were discussing cache methods.

Bjornen Nilsson
Having to use external object cache is sign of poorly written code. The problem is usually not how fast the db respond but rather how the queries are written. In other words, using MemCache or Redis to help with poor code is a bad idea.

Another "thing" is using transients with or without an expiry. It's "normal" practice for most plugins and code to do so but it can also be "bad" for the db since the options table can be "overloaded" (creating a queue).

"Main" point is to have a good server set-up and well written code to serve your content