Forum Replies Created

Viewing 2 replies - 1 through 2 (of 2 total)
  • Thread Starter katerlouis

    (@katerlouis)

    Thanks for the quick reply. That’s what I call good support <3

    However, I’ve opted against caching user specific results server-side. Instead I will cache it client-side as long as the user refreshes the page.

    Thread Starter katerlouis

    (@katerlouis)

    I haven’t used PHP in SOOO long that I have absolutely no what this wizzardry of \WP_Rest_Cache.... is, but it worked ??

    Thanks a lot!

    Edit: For those wondering, it is essential to add the entire path of the endpoint. Even if the list in settings shows /your-api/v1/get-something you would need to provide /wp-json/your-api/v1/get-something as the parameter for the flushing function. The leading slash of /wp-json seems to be essential.

    Maybe the plugin can be more forgiving with that parameter and check if wp-json/your-api... or /your-api... or your-api... can be found as well?

    • This reply was modified 1 year ago by katerlouis.
Viewing 2 replies - 1 through 2 (of 2 total)