Title: Cacheable request header example
Last modified: December 10, 2020

---

# Cacheable request header example

 *  Resolved [Noon](https://wordpress.org/support/users/sevenkader/)
 * (@sevenkader)
 * [5 years, 6 months ago](https://wordpress.org/support/topic/cacheable-request-header-example/)
 * Hello, I’m having trouble finding to cache I don’t know if it’s working. Do you
   have an example of what a global cacheable request header looks like? I’m using
   an app that uses rest API, and I’m using woocommerce

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

 *  Plugin Author [Richard Korthuis](https://wordpress.org/support/users/rockfire/)
 * (@rockfire)
 * [5 years, 5 months ago](https://wordpress.org/support/topic/cacheable-request-header-example/#post-13792536)
 * Hi [@sevenkader](https://wordpress.org/support/users/sevenkader/)
 * Thank you for using our plugin!
 * I am not really sure what it is you are asking? You can see if the cache is working
   by checking if there are caches under Settings > WP REST Cache > Endpoint API
   Caches.
    Regarding the “global cacheable request headers”: this is something 
   you can use to distinguish between seperate caches. For example if you want seperate
   caches based upon the `Authorisation` header. Regarding WooCommerce: please keep
   in mind that by default our plugin only caches the default WordPress REST endpoints,
   so WooCommerce REST Endpoints aren’t cached automatically.
 *  Thread Starter [Noon](https://wordpress.org/support/users/sevenkader/)
 * (@sevenkader)
 * [5 years, 5 months ago](https://wordpress.org/support/topic/cacheable-request-header-example/#post-13812216)
 * Do you have woocommerce endpoints that I can add? Like, woocommerce is one of
   the biggest things on wordpress, if you could add that that would help a lot.
   I’m very new to any of this, just wanted to know if there are things that you
   know of you can list here that can be added
 *  Plugin Author [Richard Korthuis](https://wordpress.org/support/users/rockfire/)
 * (@rockfire)
 * [5 years, 5 months ago](https://wordpress.org/support/topic/cacheable-request-header-example/#post-13813619)
 * Hi [@sevenkader](https://wordpress.org/support/users/sevenkader/)
 * You can find a list of all WooCommerce REST API endpoints on their website: [https://woocommerce.github.io/woocommerce-rest-api-docs/](https://woocommerce.github.io/woocommerce-rest-api-docs/)
 * But keep in mind that adding them like described [in our FAQ](https://wordpress.org/plugins/wp-rest-cache/#%0Acan%20i%20register%20my%20own%20endpoint%20for%20caching%3F%0A)
   will not have them flushed automatically once there contents are changed. You
   would have to create custom code for that. (And that is why it isn’t default 
   enabled in our plugin.) We are working on a (paid) add-on for the WP REST Cache
   to support the WooCommerce REST API, but it is a longterm plan and I do not have
   any date when it will be ready.

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

The topic ‘Cacheable request header example’ 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/)

 * 3 replies
 * 2 participants
 * Last reply from: [Richard Korthuis](https://wordpress.org/support/users/rockfire/)
 * Last activity: [5 years, 5 months ago](https://wordpress.org/support/topic/cacheable-request-header-example/#post-13813619)
 * Status: resolved