• Resolved sroberson

    (@sroberson)


    I just installed this plugin and was hoping that out-of-the box rest api calls like /wp-json/wp/v2/posts?page=1&per_page=9 would be automagically cached.

    This is not the case.

    I have zero Endpoint API Caches.

    Incidentally, when I first Activated the plugin I got an error at the top of the plugins page saying that the wp_wrc_relations table was not present. I checked and confirmed that it is there. It is just empty.

    I presume there is some manual configuration I need to do. If so, these instructions are lacking.

    Please tell me how to get the caches working.

    Thanks.

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author Richard Korthuis

    (@rockfire)

    Hi @sroberson

    Thank you for using our plugin.

    I am sorry to hear it is not working out-of-the-box, because no manual configuration should be needed to cache the default WordPress REST API calls.

    One possible reason could be that the necessary must-use plugin isn’t created when activating the plugin. Could you check if the file wp-rest-cache.php exists in your /wp-content/mu-plugins/ directory?

    About hte error you got when activating the plugin: I was just made aware of this and it is something we will fix in a future version. It is however no cause for concern, because nothing is actually broken.

    Plugin Author Richard Korthuis

    (@rockfire)

    This thread has been marked as resolved due to lack of activity.

    You’re always welcome to open a new topic.

    Thanks for understanding!

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘New install, but /wp-json/wp/v2/posts not being cached’ is closed to new replies.