Tagged: Browser Cache, Page Cache
- AuthorPosts
Julie
GuestHi,
Is the documentation for prevent caching exception list on the browser page correct (https://www.boldgrid.com/support/w3-total-cache/configuring-browser-caching-in-w3-total-cache/#prevent-caching-exception-list)?It seem the section is written as to how to prevent caching, but the functionality on the actual setting page seems to indicate it is preventing items to NOT add the prevent caching query string.
Marko Vasiljevic
KeymasterHello Julie,
Thank you for reaching out, and I am happy to help!
This exception list is for the static files, where the random query string is being added if the option in W3 Total Cache – Performance>Browser Cache>Prevent caching of objects after settings change is enabled.
Once enabled, this option adds a random query string to the static files, like: /wp-content/cache/minify/715a5.js?xNNNNN
If the file path is added to the list, it will strip the query string only for that specific file:
/wp-content/cache/minify/715a5.js
If you want to add any page to to exception from caching, you can do this in Performance>Page Cache>Advanced>” Never Cache following pages”, and add a page you wish not to cache to that field, for example:
/some-page/Make sure to save all settings and purge the cache
I hope this helps!
Julie
GuestThanks!
- AuthorPosts