Title: Caching parameters
Last modified: September 17, 2025

---

# Caching parameters

 *  [snakecharmer995](https://wordpress.org/support/users/snakecharmer995/)
 * (@snakecharmer995)
 * [8 months, 3 weeks ago](https://wordpress.org/support/topic/caching-parameters/)
 * Hi.
   I was writing in previous thread but moderator deleted it so I am continuing
   it here.I am trying to cache parameters in url such as shop/?_category=something**
   The support said:**_There are arguments caching settings for that purpose: [https://www.s-sols.com/docs/wordpress/accelerator/settings-accel/settings-exclusions-accel#arguments](https://www.s-sols.com/docs/wordpress/accelerator/settings-accel/settings-exclusions-accel#arguments)(
   [https://www.s-sols.com/docs/wordpress/accelerator/settings-accel/settings-exclusions-accel#arguments](https://www.s-sols.com/docs/wordpress/accelerator/settings-accel/settings-exclusions-accel#arguments))_
 * _Requests cache is not needed._
 * _\_category should be added as exception for excluding arguments like !\_category.
   Pls, see examples: [https://www.s-sols.com/docs/wordpress/accelerator/settings-accel/settings-exclusions-accel#examples](https://www.s-sols.com/docs/wordpress/accelerator/settings-accel/settings-exclusions-accel#examples)(
   [https://www.s-sols.com/docs/wordpress/accelerator/settings-accel/settings-exclusions-accel#examples](https://www.s-sols.com/docs/wordpress/accelerator/settings-accel/settings-exclusions-accel#examples))_
   **
   I have then adjusted and came to final solution:**Under**_ Cache and its revalidation_**–
   >**_Request Cache_**I have **_Pattern _**@[\?&]wpgb-ajax=refresh(?:&|$)@ POST
   application/JSON since its received from facet WP Grid builderand under**_ Exclusions,
   views and users_**–>_**URI arguments**_I set to Exclude particular and added 
   in !_category so that its not cached.**My questions is will this now cache all
   results suchs as:**?_category=random1?_category=random2?_category=random3
 * and combinations in between
   ?_category=random1%2Crandom2?_category=random3%2Crandom4?
   _category=random5%2Crandom6%2Crandom7I have purchased the premium license as 
   well but I am asking in public forum in case someone else has similar issues 
   so they can find this thread.
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fcaching-parameters%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

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

 *  Plugin Support [Gradient](https://wordpress.org/support/users/ssols0supp/)
 * (@ssols0supp)
 * [8 months, 3 weeks ago](https://wordpress.org/support/topic/caching-parameters/#post-18645544)
 * Yes, it will be cached. It can be checked by cache status when enabling HTTP 
   trace.
 * [https://www.s-sols.com/docs/wordpress/accelerator/settings-accel/settings-advanced-accel#debug](https://www.s-sols.com/docs/wordpress/accelerator/settings-accel/settings-advanced-accel#debug)
 *  Thread Starter [snakecharmer995](https://wordpress.org/support/users/snakecharmer995/)
 * (@snakecharmer995)
 * [8 months, 3 weeks ago](https://wordpress.org/support/topic/caching-parameters/#post-18646467)
 * Thank you for debug now I can see the following thing:
 * The XHR requests are cached as I can see X Seraph Accel Cache.
 * [https://ibb.co/C5kCkTsm](https://ibb.co/C5kCkTsm)
 * [https://ibb.co/rRBfgmY4](https://ibb.co/rRBfgmY4)
 * but fetch are not
 * [https://ibb.co/CpLpqtYY](https://ibb.co/CpLpqtYY)
 * [https://ibb.co/MxNHWMjC](https://ibb.co/MxNHWMjC)
   Any idea what would be the
   reason?
 *  Plugin Support [Gradient](https://wordpress.org/support/users/ssols0supp/)
 * (@ssols0supp)
 * [8 months, 3 weeks ago](https://wordpress.org/support/topic/caching-parameters/#post-18646484)
 * Due to the second URL doesn’t contain ‘_category’ argument.
 *  Thread Starter [snakecharmer995](https://wordpress.org/support/users/snakecharmer995/)
 * (@snakecharmer995)
 * [8 months, 3 weeks ago](https://wordpress.org/support/topic/caching-parameters/#post-18646663)
 * Apologies. Thats due to me translating it here for better understanding. Thats
   how it originally is kategorije=categories.
 * Here is the image showing all my settings.
 * [https://ibb.co/NnmTQb8C](https://ibb.co/NnmTQb8C)
 * As you can see the xhr is really fast usually 30-40ms but fetch is slow and long
   300ms because its not cached.
   How can I also cache fetch so thats also fast.
 * Should I add Pattern @/wp-json/wp/v2/product_cat\?slug=@ Method GET Type application/
   json
   to Request cache? Is this logic correct?With ttl of 1h and lazy revalidation
   on this should be updating my filters if products move or they get out of stock
   or categories get updated correct?
 * Thank you.
 *  Plugin Support [Gradient](https://wordpress.org/support/users/ssols0supp/)
 * (@ssols0supp)
 * [8 months, 3 weeks ago](https://wordpress.org/support/topic/caching-parameters/#post-18646740)
 * We see that requests caching is needed from your side.
 * /wp-json/wp/v2/product_cat\ or wpgb-ajax=refresh
 * ?
 *  Thread Starter [snakecharmer995](https://wordpress.org/support/users/snakecharmer995/)
 * (@snakecharmer995)
 * [8 months, 3 weeks ago](https://wordpress.org/support/topic/caching-parameters/#post-18646813)
 * Hi, thank you.
 * Yes I think thats what I was missing.
   [https://ibb.co/TxdBNSLF](https://ibb.co/TxdBNSLF)
   I have now adjusted and have 2 post one for refresh one for render and get for
   product cat.Is there a way to speed up the creation of ajax refresh cache beacuse
   its still not created after clicking on combinations in incognito?
 *  Plugin Support [Gradient](https://wordpress.org/support/users/ssols0supp/)
 * (@ssols0supp)
 * [8 months, 3 weeks ago](https://wordpress.org/support/topic/caching-parameters/#post-18646865)
 * > its still not created after clicking on combinations in incognito?
   >  What is the cache status of such requests in HTTP response?
 *  Thread Starter [snakecharmer995](https://wordpress.org/support/users/snakecharmer995/)
 * (@snakecharmer995)
 * [8 months, 3 weeks ago](https://wordpress.org/support/topic/caching-parameters/#post-18646960)
 * Here is example of this such slow cache:
   [https://ibb.co/Hfk0fVph](https://ibb.co/Hfk0fVph)
 *  Plugin Support [Gradient](https://wordpress.org/support/users/ssols0supp/)
 * (@ssols0supp)
 * [8 months, 3 weeks ago](https://wordpress.org/support/topic/caching-parameters/#post-18647027)
 * There is no Accelerator header.
 * It is better to manage this issue in support request – we will setup all stuff.

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

The topic ‘Caching parameters’ is closed to new replies.

 * ![](https://ps.w.org/seraphinite-accelerator/assets/icon-256x256.jpg?rev=2610331)
 * [Seraphinite Accelerator](https://wordpress.org/plugins/seraphinite-accelerator/)
 * [Support Threads](https://wordpress.org/support/plugin/seraphinite-accelerator/)
 * [Active Topics](https://wordpress.org/support/plugin/seraphinite-accelerator/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/seraphinite-accelerator/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/seraphinite-accelerator/reviews/)

## Tags

 * [cache](https://wordpress.org/support/topic-tag/cache/)
 * [parameter](https://wordpress.org/support/topic-tag/parameter/)

 * 9 replies
 * 2 participants
 * Last reply from: [Gradient](https://wordpress.org/support/users/ssols0supp/)
 * Last activity: [8 months, 3 weeks ago](https://wordpress.org/support/topic/caching-parameters/#post-18647027)
 * Status: not resolved