Title: Change browser cache duration?
Last modified: January 21, 2024

---

# Change browser cache duration?

 *  Resolved [Babak Fakhamzadeh](https://wordpress.org/support/users/mastababa/)
 * (@mastababa)
 * [2 years, 4 months ago](https://wordpress.org/support/topic/change-browser-cache-duration/)
 * Inspecting the headers of the cached API responses, it appears that the browser
   cache duration is set to 48 hours (172800 seconds).
 * Is there a way to change this?

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

 *  Plugin Author [Richard Korthuis](https://wordpress.org/support/users/rockfire/)
 * (@rockfire)
 * [2 years, 4 months ago](https://wordpress.org/support/topic/change-browser-cache-duration/#post-17360496)
 * Hi [@mastababa](https://wordpress.org/support/users/mastababa/)
   Our plugin doesn’t
   set these headers. I just did a test on a local environment and no cache headers
   were present, so I guess this is something that is done on your server.
 *  Thread Starter [Babak Fakhamzadeh](https://wordpress.org/support/users/mastababa/)
 * (@mastababa)
 * [2 years, 4 months ago](https://wordpress.org/support/topic/change-browser-cache-duration/#post-17360595)
 * Thanks. I think I figured out a workaround by setting a rule on Cloudflare. However,
   this does not explain, if Cloudflare is adding the browser-cache settings in 
   the first place, why they are doing so. :/

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

The topic ‘Change browser cache duration?’ is closed to new replies.

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

 * 2 replies
 * 2 participants
 * Last reply from: [Babak Fakhamzadeh](https://wordpress.org/support/users/mastababa/)
 * Last activity: [2 years, 4 months ago](https://wordpress.org/support/topic/change-browser-cache-duration/#post-17360595)
 * Status: resolved