• Resolved itmedianet

    (@itmedianet)


    Hi,

    I’ve written down some endpoints using native WP REST API wrapper.
    With Pro I can cache REST APIs.
    Will my endpoints be included in this cache?

    Thanks

Viewing 1 replies (of 1 total)
  • Plugin Contributor Marko Vasiljevic

    (@vmarko)

    Hello @itmedianet

    Thank you for yoru question and I am happy to answer.
    Yes, if the REST API caching is enabled, meaning you do have the PRO version activated, and is a REST_REQUEST according to WP, then it should be cached.
    If You added REST routes the WordPress way, then again, they should be cached.
    As with any customization: Use it at your own risk.
    Thanks!

Viewing 1 replies (of 1 total)

The topic ‘Does REST API work for a custom written api?’ is closed to new replies.