Title: ttips's Replies | WordPress.org

---

# ttips

  [  ](https://wordpress.org/support/users/ttips/)

 *   [Profile](https://wordpress.org/support/users/ttips/)
 *   [Topics Started](https://wordpress.org/support/users/ttips/topics/)
 *   [Replies Created](https://wordpress.org/support/users/ttips/replies/)
 *   [Reviews Written](https://wordpress.org/support/users/ttips/reviews/)
 *   [Topics Replied To](https://wordpress.org/support/users/ttips/replied-to/)
 *   [Engagements](https://wordpress.org/support/users/ttips/engagements/)
 *   [Favorites](https://wordpress.org/support/users/ttips/favorites/)

 Search replies:

## Forum Replies Created

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

 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[WP REST Cache] Does not cache my custom endpoint](https://wordpress.org/support/topic/does-not-cache-my-custom-endpoint/)
 *  Thread Starter [ttips](https://wordpress.org/support/users/ttips/)
 * (@ttips)
 * [3 years, 11 months ago](https://wordpress.org/support/topic/does-not-cache-my-custom-endpoint/#post-16086259)
 * Hi,
 * And in the `wp_rest_cache_item_allowed_endpoints` option?
    Nothing appears on
   my endpoint….
    -  This reply was modified 3 years, 11 months ago by [ttips](https://wordpress.org/support/users/ttips/).
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[WP REST Cache] Does not cache my custom endpoint](https://wordpress.org/support/topic/does-not-cache-my-custom-endpoint/)
 *  Thread Starter [ttips](https://wordpress.org/support/users/ttips/)
 * (@ttips)
 * [3 years, 11 months ago](https://wordpress.org/support/topic/does-not-cache-my-custom-endpoint/#post-16084395)
 * Hi [@rockfire](https://wordpress.org/support/users/rockfire/),
 * Yes it is there but still not caching…
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[WP REST Cache] Does not cache my custom endpoint](https://wordpress.org/support/topic/does-not-cache-my-custom-endpoint/)
 *  Thread Starter [ttips](https://wordpress.org/support/users/ttips/)
 * (@ttips)
 * [3 years, 11 months ago](https://wordpress.org/support/topic/does-not-cache-my-custom-endpoint/#post-16084304)
 * Hi [@rockfire](https://wordpress.org/support/users/rockfire/),
 * Are there any details that are missing?
    Should “add_filter” be called after “
   add_action(‘rest_api_init’,…)”? (we’ve tested it before and after and it’s the
   same). We have “register_rest_route” inside “add_action(‘rest_api_init’,…)”. 
   It’s fine like this?
 * Thank you!
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[WP REST Cache] Does not cache my custom endpoint](https://wordpress.org/support/topic/does-not-cache-my-custom-endpoint/)
 *  Thread Starter [ttips](https://wordpress.org/support/users/ttips/)
 * (@ttips)
 * [3 years, 11 months ago](https://wordpress.org/support/topic/does-not-cache-my-custom-endpoint/#post-16082717)
 * The wp-rest-cache.php file is also present in the wp-content/mu-plugins directory.
   
   If we test with endpoints like “/wp-json/wp/v2/posts”, the plugin works correctly.

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