JPD2

Makes caching WordPress queries via the Transients API easy.

Author:Josh Pollock (profile at wordpress.org)
WordPress version required:3.8
WordPress version tested:3.8.37
Plugin version:0.8.7
Added to WordPress repository:08-03-2014
Last updated:24-02-2022
Warning! This plugin has not been updated in over 2 years. It may no longer be maintained or supported and may have compatibility issues when used with more recent versions of WordPress.
Rating, %:0
Rated by:0
Plugin URI:http://joshpress.net/blog/jpd2/
Total downloads:2 386
plugin download
Click to start download

Makes caching the results of a WP_Query, WP_User_Query and WP_Meta_Query, via the transients API easy. Realize increased performance, by caching the results of your queries, with one simple function.

All saved queries are automatically reset when any post is updated.

Basic usage:

  • Specify arguments for the query ($args)
  • Give the query a name ($name)
  • $query = jpd2_better_query( $args, $name );
  • Use $query like you would any other WP_Query object.
  • See FAQ for other usages

FAQ
ChangeLog