Fun with WordPress Transients

Written by on

It has been awhile since I have written, but I wanted to detail how and when to use WordPress transients. First off, what are transients? WordPress has a great API for storing data that might be either the results of an expensive/complex query, or data that does not change that often. The rationale behind these is to make the pages load faster without having to do the expensive queries for every user that visits your site. They offer us an expiration date so that the data can be regenerated on a schedule.

I have two examples in the full article for you to review. Hopefully they will help you make your site more efficient.






Real Time Web Analytics ^