WordPress.org

Ready to get started?Download WordPress

Forums

Quick Cache (Speed Without Compromise)
how do I make quickcache intercept json results via the json api? (2 posts)

  1. bheadrick
    Member
    Posted 1 year ago #

    I want to be able to cache json api results, but quick cache is not intercepting them. is there any function I can call to store and retrieve them? Here's an example of how it can be done in w3tc:
    http://wordpress.org/support/topic/plugin-json-api-w3-total-cache-json-api?replies=4

    I'm currently using transients api to cache results, but I think it would be much faster if I could use page caching.

    http://wordpress.org/extend/plugins/quick-cache/

  2. Kimberly
    Member
    Posted 1 year ago #

    Unless i am misunderstanding couldnt you just have enable the Quick Cache option to cache Get queries? Since JSON queries include the "?" symbol (akin to Get queries) this would automatically cache each and every JSON query request individually.

    However, you will run into problems if you don't want it to cache all queries that include "?" and so you would have to use wildcard statements to exclude all queries you don't want cached -- another avail Quick Cache field.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags

No tags yet.