Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author Tang Rufus

    (@tangrufus)

    You can have CloudFlare to cache your GET api request if you turned on a Cache Everything page rule.

    Purging additional urls are not supported currently.
    If you are a developer, check out this github issue to see how to do it via a custom plugin.

    Note: Make sure you set proper expiry time!

    Thread Starter fgilio

    (@fgilio)

    Awesome, thanks!

    Plugin Author Tang Rufus

    (@tangrufus)

    Reviewing the issues about WP REST API, I think it’s better not using Cache Everything rules on them.

    Main Reason: Authorization is hard when the request never goes into your server

    If you found a way to make permission checks and Cache Everything works together, please share the tricks.

    Thanks!

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘Purge WP-API’ is closed to new replies.