2017 © Pedro Peláez
 

library jp-rest-cache

Soft-expiring, server-side cache for the WordPress REST API (WP REST).

image

shelob9/jp-rest-cache

Soft-expiring, server-side cache for the WordPress REST API (WP REST).

  • Saturday, April 30, 2016
  • by Shelob9
  • Repository
  • 7 Watchers
  • 62 Stars
  • 118 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 8 Forks
  • 3 Open issues
  • 1 Versions
  • 2 % Grown

The README.md

JP REST API CACHE

Soft-expiring, server-side cache for the WordPress REST API (WP REST)., (*1)

Utilizes Mark Jaquith's WP-TLC-Transients Library. Requires WordPress and the WordPress REST API., (*2)

Keep in mind two things when using please: 1) Caching does not categorically equal faster. Do some science, test on your testing server, not your live server for the love of Gaia, to figure out if this actually improves performance. 2) You're probably better off using a persistent object cache on your site. Again, do science, figure out what works best. My feelings will not be hurt if you use something else instead., (*3)

BTW By "do science" I mean do a set of repeatable tests with a one independent variable (cache method) and keep everything else the same. Compare results and see if you're hypothesis (cache method == faster) evaluates true or false., (*4)

Installation

This is not a plugin. It's a composer library. Putting this in your plugin directory and then opening an issue when this doesn't show up in your plugin admin is a violation of intergalactic law., (*5)

Add "shelob9/jp-rest-cache": "dev-master" to your site/plugin/theme's composer.json., (*6)

License

Copyright 2014 Josh Pollock. Licensed under the terms of the GNU General public license version 2. Please share with your neighbor., (*7)

The Versions

30/04 2016

dev-master

9999999-dev

Soft-expiring, server-side cache for the WordPress REST API (WP REST).

  Sources   Download

GPL-2.0+

The Requires

 

wordpress api cache