Title: Multiple disk cache and redis
Last modified: July 25, 2023

---

# Multiple disk cache and redis

 *  Resolved [thyagonet88](https://wordpress.org/support/users/thyagonet88/)
 * (@thyagonet88)
 * [2 years, 11 months ago](https://wordpress.org/support/topic/multiple-disk-cache-and-redis/)
 * Is it possible to use HTML caching for disk and Redis for database without causing
   conflicts?
 * I saw that in the setup you have the option to choose.

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

 *  Plugin Contributor [Marko Vasiljevic](https://wordpress.org/support/users/vmarko/)
 * (@vmarko)
 * [2 years, 11 months ago](https://wordpress.org/support/topic/multiple-disk-cache-and-redis/#post-16921714)
 * Hello [@thyagonet88](https://wordpress.org/support/users/thyagonet88/)
 * Thank you for reaching out.
   If I understood correctly, you wish to use Disk or
   Disk: Enhanced caching method for Page Caching (HTML) and Redis for DB or Object
   Caching.If this is the case, yes, you can use different caching methods for different
   modules without any conflict.
 * I hope this helps!
 * Thanks!
 *  Thread Starter [thyagonet88](https://wordpress.org/support/users/thyagonet88/)
 * (@thyagonet88)
 * [2 years, 11 months ago](https://wordpress.org/support/topic/multiple-disk-cache-and-redis/#post-16921851)
 * That would be exactly it, thanks for the reply! There is no conflict in using
   the 2 at the same time then, right?
   Taking advantage of this opportunity, when
   receiving a request with a random querystring ?fbclid, will access to the article
   seek this access in REDIS or in the static HTML cache?
 * And how does W3 Total Cache behave with these fbclid accesses when the person
   does not have REDIS?
 *  Plugin Contributor [Marko Vasiljevic](https://wordpress.org/support/users/vmarko/)
 * (@vmarko)
 * [2 years, 10 months ago](https://wordpress.org/support/topic/multiple-disk-cache-and-redis/#post-16924514)
 * Hello [@thyagonet88](https://wordpress.org/support/users/thyagonet88/)
 * Thank you for your feedback.
   Well now I am not sure I understand the question.
   When using Page Caching, you can only use one caching method. So you can choose
   between Disk: Enhanced, Disk: Basic, Redis, etc.If you are using Disk Enhanced
   for example, the cached pages will be stored on disk in wp-content/cache/page_enhanced/
   folder. If you are using Redis, the pages will be cached in memory.As for the?
   fbclid this also depends on which caching method you are using. By default, caching
   URLs with query strings is not enabled for Disk: Enhanced. However, you can add
   fbclid to Performance>Page Cache>Advanced>Accepted query strings:Once added, 
   all pages with the mentioned query strings will be served from the cache, or 
   from the mentioned wp-content/cache/page_enhanced/ folder.
 * I hope this helps!
 *  Thread Starter [thyagonet88](https://wordpress.org/support/users/thyagonet88/)
 * (@thyagonet88)
 * [2 years, 10 months ago](https://wordpress.org/support/topic/multiple-disk-cache-and-redis/#post-16924578)
 * That’s what I really want about fbclid.
 * A doubt, when containing fbclid in the querystring it stores that post in the
   2 redis/disk caches. As queries with fbclid are random, ex: mysite.com/article1/?
   fbclid111 and so on mysite.com/article1/?fbclid222
   Is the query id random, is
   each id saved in this scenario or just 1 single post with query string containing
   fbclid starts responding to any id as HIT in the header for both REDIS (tmpfs)
   and HTML (disk)?I take the opportunity, and leave this flowchart to contextualize,
   W3 Total Cache is in the same square as PHP-FPM, and there it makes the decisions,
   correct?[https://imgur.com/a/N22CVPa](https://imgur.com/a/N22CVPa)
 *  Plugin Contributor [Marko Vasiljevic](https://wordpress.org/support/users/vmarko/)
 * (@vmarko)
 * [2 years, 10 months ago](https://wordpress.org/support/topic/multiple-disk-cache-and-redis/#post-16925068)
 * Hey [@thyagonet88](https://wordpress.org/support/users/thyagonet88/) 
   Thank you
   for your feedback.
 * To answer your question, only one post is saved. If you have mysite.com/article1/?
   fbclid111 and mysite.com/article1/?fbclid222
   And you add `fbclid` to Performance
   >Page Cache>Advanced>Accepted query strings: only one page will be cached mysite.
   com/article1/ and served to users that have visited the page with any random 
   query string that includes `fbclid`I hope this answers your question!Thanks!
 *  Thread Starter [thyagonet88](https://wordpress.org/support/users/thyagonet88/)
 * (@thyagonet88)
 * [2 years, 10 months ago](https://wordpress.org/support/topic/multiple-disk-cache-and-redis/#post-16936084)
 * Hi,
   Thanks for your help!I saw that fbclid and other terms are already added 
   there.
 * Do I need to click activate above? I ask because here I am not being allowed 
   to activate the 2 options above. [https://imgur.com/a/dsEc4pU](https://imgur.com/a/dsEc4pU)
 * Thanks for talking about it!
 *  Plugin Contributor [Marko Vasiljevic](https://wordpress.org/support/users/vmarko/)
 * (@vmarko)
 * [2 years, 10 months ago](https://wordpress.org/support/topic/multiple-disk-cache-and-redis/#post-16941497)
 * Hello [@thyagonet88](https://wordpress.org/support/users/thyagonet88/)
 * Thank you for your feedback.
   The options are not available with the Disk: Enhanced
   Caching method. The default list for caching pages with query strings with the
   Disk: Enhanced Caching method is in the Accepted query strings field.With the
   greyed out option that are only available with Disk: Basic and memory-based caching
   methods will cache URLs with all query strings and not just added in the Accepted
   query strings filed.
 * Thaks!

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

The topic ‘Multiple disk cache and redis’ is closed to new replies.

 * ![](https://ps.w.org/w3-total-cache/assets/icon-256x256.png?rev=1041806)
 * [W3 Total Cache](https://wordpress.org/plugins/w3-total-cache/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/w3-total-cache/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/w3-total-cache/)
 * [Active Topics](https://wordpress.org/support/plugin/w3-total-cache/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/w3-total-cache/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/w3-total-cache/reviews/)

 * 7 replies
 * 2 participants
 * Last reply from: [Marko Vasiljevic](https://wordpress.org/support/users/vmarko/)
 * Last activity: [2 years, 10 months ago](https://wordpress.org/support/topic/multiple-disk-cache-and-redis/#post-16941497)
 * Status: resolved