Title: Doesn&#8217;t cache with parameter ?rest_route=/
Last modified: March 7, 2020

---

# Doesn’t cache with parameter ?rest_route=/

 *  Resolved [solhan](https://wordpress.org/support/users/solhan/)
 * (@solhan)
 * [6 years, 3 months ago](https://wordpress.org/support/topic/doesnt-cache-with-parameter-rest_route/)
 * Hi, first of all thank you for this wonderful plugin.
 * I can only access rest api through
    [http://example.com/](http://example.com/)**?
   rest_route=**/wp/v2/posts/123 url but plugin is not caching these requests. I
   did use this plugin a while ago with normal rest route [http://example.com/wp-json/wp/v2/posts/123](http://example.com/wp-json/wp/v2/posts/123)
   and it was working fine.
 * So my question is, how can I cache requests made through rest_route parameter?
    -  This topic was modified 6 years, 3 months ago by [solhan](https://wordpress.org/support/users/solhan/).

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

 *  Plugin Author [Richard Korthuis](https://wordpress.org/support/users/rockfire/)
 * (@rockfire)
 * [6 years, 3 months ago](https://wordpress.org/support/topic/doesnt-cache-with-parameter-rest_route/#post-12536514)
 * Hi [@solhan](https://wordpress.org/support/users/solhan/)
 * Thank you for using our plugin!
 * We just released a new version of our plugin which enables you to use the `rest_route`
   parameter and have the response cached.
 *  Thread Starter [solhan](https://wordpress.org/support/users/solhan/)
 * (@solhan)
 * [6 years, 3 months ago](https://wordpress.org/support/topic/doesnt-cache-with-parameter-rest_route/#post-12536770)
 * Thank you so much 🙂

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

The topic ‘Doesn’t cache with parameter ?rest_route=/’ 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: [solhan](https://wordpress.org/support/users/solhan/)
 * Last activity: [6 years, 3 months ago](https://wordpress.org/support/topic/doesnt-cache-with-parameter-rest_route/#post-12536770)
 * Status: resolved