Title: Purging WP Rest API request cached
Last modified: April 28, 2018

---

# Purging WP Rest API request cached

 *  [mikhael92](https://wordpress.org/support/users/mikhael92/)
 * (@mikhael92)
 * [8 years, 1 month ago](https://wordpress.org/support/topic/purging-wp-rest-api-request-cached/)
 * Hi,
    I looking that in the last update you have added support to purging of the
   cached JSON WP REST API. It is working for the basic page like …/wp-json/wp/v2/
   posts/ but not for specific request like …/wp-json/wp/v2/posts/?per_page=5&page
   =1
 * Is possible to fix that?
 * Thanks

Viewing 1 replies (of 1 total)

 *  Thread Starter [mikhael92](https://wordpress.org/support/users/mikhael92/)
 * (@mikhael92)
 * [8 years, 1 month ago](https://wordpress.org/support/topic/purging-wp-rest-api-request-cached/#post-10229542)
 * I fixed adding this rule in additional page: /wp-json/wp/v2/posts/([a-z0-9_\-]*?)

Viewing 1 replies (of 1 total)

The topic ‘Purging WP Rest API request cached’ is closed to new replies.

 * ![](https://ps.w.org/w3-total-cache/assets/icon-256x256.png?rev=1041806)
 * [W3 Total Cache](https://wordpress.org/plugins/w3-total-cache/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/w3-total-cache/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/w3-total-cache/)
 * [Active Topics](https://wordpress.org/support/plugin/w3-total-cache/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/w3-total-cache/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/w3-total-cache/reviews/)

## Tags

 * [json](https://wordpress.org/support/topic-tag/json/)
 * [W3TC](https://wordpress.org/support/topic-tag/w3tc/)
 * [wp rest api](https://wordpress.org/support/topic-tag/wp-rest-api/)

 * 1 reply
 * 1 participant
 * Last reply from: [mikhael92](https://wordpress.org/support/users/mikhael92/)
 * Last activity: [8 years, 1 month ago](https://wordpress.org/support/topic/purging-wp-rest-api-request-cached/#post-10229542)
 * Status: not resolved