Title: Page with query string
Last modified: September 5, 2019

---

# Page with query string

 *  Resolved [Beherit](https://wordpress.org/support/users/beherit/)
 * (@beherit)
 * [6 years, 9 months ago](https://wordpress.org/support/topic/page-with-query-string/)
 * I would like to cache pages with query strings so I defined WPFC_CACHE_QUERYSTRING.
   Now such pages are cached but plugin creates new cache file for each query string.
   The point of problem is – how to configure WPFC to use same cache file for the
   page without and with query strings?

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

 *  Plugin Author [Emre Vona](https://wordpress.org/support/users/emrevona/)
 * (@emrevona)
 * [6 years, 9 months ago](https://wordpress.org/support/topic/page-with-query-string/#post-11903373)
 * no, sorry. there is no such option in wpfc.
 *  Thread Starter [Beherit](https://wordpress.org/support/users/beherit/)
 * (@beherit)
 * [6 years, 9 months ago](https://wordpress.org/support/topic/page-with-query-string/#post-11903420)
 * So I must edit your plugin in source? Really? 😛 This is wrong, very wrong. Why
   page [https://domain.tld/something?bleble](https://domain.tld/something?bleble)
   doesen’t have same cache file that page [https://domain.tld/something](https://domain.tld/something)?
   I have a page with dynamic query strings and this page is generating every time
   instead get it from cache.
 *  Thread Starter [Beherit](https://wordpress.org/support/users/beherit/)
 * (@beherit)
 * [6 years, 9 months ago](https://wordpress.org/support/topic/page-with-query-string/#post-11903444)
 * Anyway, You can add some filter/action where developer like me can decide how
   to cache some page…. I’mm not asking for another option in the plugin settings.
 *  Plugin Author [Emre Vona](https://wordpress.org/support/users/emrevona/)
 * (@emrevona)
 * [6 years, 9 months ago](https://wordpress.org/support/topic/page-with-query-string/#post-11904194)
 * may I ask you why you need to use query string if you show the same cache?
 *  Thread Starter [Beherit](https://wordpress.org/support/users/beherit/)
 * (@beherit)
 * [6 years, 9 months ago](https://wordpress.org/support/topic/page-with-query-string/#post-11904210)
 * 1. If WPFC_CACHE_QUERYSTRING is not defined WPFC create cache file only for page
   [https://domain.tld/something](https://domain.tld/something) Page [https://domain.tld/something?bleble](https://domain.tld/something?bleble)
   is always generated via PHP
 * 2. If WPFC_CACHE_QUERYSTRING is defined WPFC create cache file for page [https://domain.tld/something](https://domain.tld/something)
   and for each page with query string e.g. [https://domain.tld/something?bleble](https://domain.tld/something?bleble)
   [https://domain.tld/something?xd](https://domain.tld/something?xd) [https://domain.tld/something?lol](https://domain.tld/something?lol)
   etc.
 * I want to have only one file for page with query string and without it.
    -  This reply was modified 6 years, 9 months ago by [Beherit](https://wordpress.org/support/users/beherit/).
 *  Plugin Author [Emre Vona](https://wordpress.org/support/users/emrevona/)
 * (@emrevona)
 * [6 years, 9 months ago](https://wordpress.org/support/topic/page-with-query-string/#post-11904239)
 * something like protection?
 *  Thread Starter [Beherit](https://wordpress.org/support/users/beherit/)
 * (@beherit)
 * [6 years, 9 months ago](https://wordpress.org/support/topic/page-with-query-string/#post-11904252)
 * No. I load some data via jQuery and REST API and if I have some parameters in
   URL then I load another data. Now I can’t use cache because WPFC create cache
   file for each parameter and cache doesen’t make sense.
 *  Thread Starter [Beherit](https://wordpress.org/support/users/beherit/)
 * (@beherit)
 * [6 years, 9 months ago](https://wordpress.org/support/topic/page-with-query-string/#post-11904267)
 * More specific – on page I load registration form to my backend service, users
   must confirm registration by mail and they are redirected to this same page but
   with some code in parametres. At this point WordPress load PHP and WPFC create
   new cache file.
 *  Plugin Author [Emre Vona](https://wordpress.org/support/users/emrevona/)
 * (@emrevona)
 * [6 years, 9 months ago](https://wordpress.org/support/topic/page-with-query-string/#post-11904387)
 * I will think about it.

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

The topic ‘Page with query string’ is closed to new replies.

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

 * 9 replies
 * 2 participants
 * Last reply from: [Emre Vona](https://wordpress.org/support/users/emrevona/)
 * Last activity: [6 years, 9 months ago](https://wordpress.org/support/topic/page-with-query-string/#post-11904387)
 * Status: resolved