Title: Disable rest api cache
Last modified: May 21, 2024

---

# Disable rest api cache

 *  Resolved [sa55i](https://wordpress.org/support/users/sa55i/)
 * (@sa55i)
 * [2 years ago](https://wordpress.org/support/topic/disable-rest-api-cache/)
 * Hi dear
   We have a flutter app connected to our wordpress installation. We update
   our posts on wordpress and we send data to our flutter app with wp rest api (
   sorry i’m not a developer)Can we disable WP REST API cache? Sometimes when we
   update a post on wordpress, the same content on app is not updated. edit: we 
   cannot use autoclean option (to flush wp rest api cache) because This option 
   slows down the updating of our posts a lotOur website is on siteground hosting.
   Thx in advance
    -  This topic was modified 2 years ago by [sa55i](https://wordpress.org/support/users/sa55i/).
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fdisable-rest-api-cache%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

Viewing 1 replies (of 1 total)

 *  Plugin Support [Daniela Ivanova](https://wordpress.org/support/users/daniellaivanova/)
 * (@daniellaivanova)
 * [2 years ago](https://wordpress.org/support/topic/disable-rest-api-cache/#post-17772999)
 * Hello [@sa55i](https://wordpress.org/support/users/sa55i/),
   Currently, we do 
   not provide an option to clear only the WP REST API cache, however, you can try
   excluding the exact wp-json/ requests (or any other related URLs) from the Dynamic
   caching as shown in this article:[https://eu.siteground.com/tutorials/wordpress/speed-optimizer/supercacher/#Exclude_URLs_from_Caching](https://eu.siteground.com/tutorials/wordpress/speed-optimizer/supercacher/#Exclude_URLs_from_Caching)
   In case you experience further issues or need assistance, please, post a ticket
   through your SiteGround Client Area so we can review the matter in detail.Best
   Regards,Daniela Ivanova

Viewing 1 replies (of 1 total)

The topic ‘Disable rest api cache’ is closed to new replies.

 * ![](https://ps.w.org/sg-cachepress/assets/icon-256x256.gif?rev=2971889)
 * [Speed Optimizer - The All-In-One Performance-Boosting Plugin](https://wordpress.org/plugins/sg-cachepress/)
 * [Support Threads](https://wordpress.org/support/plugin/sg-cachepress/)
 * [Active Topics](https://wordpress.org/support/plugin/sg-cachepress/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/sg-cachepress/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/sg-cachepress/reviews/)

 * 1 reply
 * 2 participants
 * Last reply from: [Daniela Ivanova](https://wordpress.org/support/users/daniellaivanova/)
 * Last activity: [2 years ago](https://wordpress.org/support/topic/disable-rest-api-cache/#post-17772999)
 * Status: resolved