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

  1. bheadrick
    Posted 3 years 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:

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


  2. Kimberly
    Posted 3 years 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


No tags yet.