Title: W3 Total Cache
Last modified: August 30, 2016

---

# W3 Total Cache

 *  Resolved [brucedwilliams](https://wordpress.org/support/users/brucedwilliams/)
 * (@brucedwilliams)
 * [10 years, 8 months ago](https://wordpress.org/support/topic/w3-total-cache-72/)
 * It looks like the “Minify” portion of W3 Total Cache is blocking/modifying something
   such that WP Store Locator no longer works. Anyone have any idea what that might
   be? Is there an exclusion that can be include in the W3 Total Cache “Minify” 
   settings to prevent this?
 * Any help appreciated!
 * Using WP 4.3.1, W3 Total Cache 0.9.4.1 and WP Store Locator 2.0.1.
 * [https://wordpress.org/plugins/wp-store-locator/](https://wordpress.org/plugins/wp-store-locator/)

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

 *  Plugin Author [Tijmen Smit](https://wordpress.org/support/users/tijmensmit/)
 * (@tijmensmit)
 * [10 years, 8 months ago](https://wordpress.org/support/topic/w3-total-cache-72/#post-6558123)
 * There is an easy and a hard solution for this problem.
 * The easy solution is to just go to Minify -> Advanced -> Never minify the following
   pages, and fill in the page you don’t want to have minified. So if your store
   locator is used on mydomain.com/store-locator, then fill in ‘store-locator’.
 * You also try to add ‘wpsl-gmap.min.js and
    wpsl-gmap.js’ to the ‘Never minify
   the following JS files’ section on the Minify -> Advanced page, and see if that
   fixes it.
 * The other solution, and this is more work, is to first go to General Settings-
   > Minify, and set the minify mode to ‘Manual’ instead of ‘Auto’. Then go to Minify-
   > JS, and add the js scripts one by one that are used on your site, except the
   js files from the store locator.
 * You can find the js scripts used on your site by pressing ctrl+u, or right mouse
   click > view source.
 * This option does give you full control over which scripts are minified, but it’s
   also more time consuming, and it can take a while before you get it right.
 * Also make sure that on the Minify -> HTML & XML -> HTML minify settings the ‘
   Inline JS minification’ is not enabled.
 * Let me know if one of the solutions fixes it for you.
 *  Thread Starter [brucedwilliams](https://wordpress.org/support/users/brucedwilliams/)
 * (@brucedwilliams)
 * [10 years, 8 months ago](https://wordpress.org/support/topic/w3-total-cache-72/#post-6558135)
 * Adding the js files to the minify exclusion did not work, however adding the 
   page to the minify exclusion did.
 * Thanks for the quick response!
 *  [SarahCollinsWD](https://wordpress.org/support/users/sarahcollinswd/)
 * (@sarahcollinswd)
 * [10 years, 3 months ago](https://wordpress.org/support/topic/w3-total-cache-72/#post-6558388)
 * Thanks for sticking this to the top of the support forum!

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

The topic ‘W3 Total Cache’ is closed to new replies.

 * ![](https://ps.w.org/wp-store-locator/assets/icon-256x256.jpg?rev=1007784)
 * [WP Store Locator](https://wordpress.org/plugins/wp-store-locator/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/wp-store-locator/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/wp-store-locator/)
 * [Active Topics](https://wordpress.org/support/plugin/wp-store-locator/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/wp-store-locator/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/wp-store-locator/reviews/)

 * 3 replies
 * 3 participants
 * Last reply from: [SarahCollinsWD](https://wordpress.org/support/users/sarahcollinswd/)
 * Last activity: [10 years, 3 months ago](https://wordpress.org/support/topic/w3-total-cache-72/#post-6558388)
 * Status: resolved