Plugin info

Total downloads: 1,347
Active installs: 10
Total reviews: 0
Average rating: 0
Support threads opened: 0
Support threads resolved: 0 (0%)
Available in: 1 language(s)
Contributors: 1
Last updated: 3/6/2014 (4367 days ago)
Added to WordPress: 3/6/2014 (11 years old)
Minimum WordPress version: 3.0.1
Tested up to WordPress version: 3.4.2
Minimum PHP version: f

Maintenance & Compatibility

Maintenance score

Possibly abandoned • Last updated 4367 days ago

20/100

Is JSON Cache Plugin abandoned?

Possibly abandoned (last update 4367 days ago).

Compatibility

Requires WordPress: 3.0.1
Tested up to: 3.4.2
Requires PHP: f

Similar & Alternatives

Explore plugins with similar tags, and compare key metrics like downloads, ratings, updates, support, and WP/PHP compatibility.

Josie API
Rating 0.0/5 (0 reviews)Active installs 10
Disable REST API
Rating 4.8/5 (38 reviews)Active installs 90,000
WPGraphQL
Rating 4.9/5 (48 reviews)Active installs 30,000
Markup (JSON-LD) structured in schema.org
Rating 4.8/5 (45 reviews)Active installs 30,000
Disable WP REST API
Rating 4.8/5 (36 reviews)Active installs 20,000
WordPress REST API (Version 2)
Rating 4.2/5 (34 reviews)Active installs 10,000

Description

WordPress can be sometimes slow and make a lot of call to the database when you want to display a lot of posts with featured images in on beautifull long scrolling page. I a case like that you need to hit the database to get the featured image of every post.

JSON Cache fix this issue. it allow you to generate a json file that content all the informations of a post so the user when visiting your site just need to open the json file.

Installation

  1. Upload json-cache to the /wp-content/plugins/ directory
  2. Activate the plugin through the ‘Plugins’ menu in WordPress
  3. go to JSON CACHE and click Generate Cached Content (make sure your data folder is writeable)

Getting all posts

$json_cache = new JSONCache();
$jsonposts = $json_cache->getJsonData(‘posts’);

Getting all pages

$json_cache = new JSONCache();
$jsonpages = $json_cache->getJsonData(‘pages’);

Getting a specific post

$json_cache = new JSONCache();
$jsonpost = $json_cache->getJsonData(‘post_1’);

Settings

you can also add a custom image size:
$json_cache = new JSONCache();
$json_cache->add_image_size( ‘thibautdelille-full-width’);

Frequently Asked Questions

No FAQ available

Review feed

No reviews available

Screenshots

No screenshots available

Changelog

0.1

  • save all pages, all posts and each individuals post in json file
  • retrieve json data in the templates
  • add custom images sizes