Support » Plugin: W3 Total Cache » Not caching or minify certain pages

  • Resolved workky

    (@workky)


    I need this page to be completely excluded from all W3 Total Cache. Its causing a conflict with the java script of the zip code search, and i dont know how to fix it other than turn it toff

    The page I need help with: [log in to see the link]

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

    (@workky)

    I might add, i have disabled W3 Total Cache until i can figure this out. I did add that page to the do not cache and minify section, but it didn’t seem to work

    Plugin Support Marko Vasiljevic

    (@vmarko)

    Hello @workky,

    I am sorry about the issues you are having with excluding pages and JS files from the cache but I am happy to assist you with this.
    To exclude a page from being cached, go to Performance>Page Cache, scroll down to advanced sub box and add the page you want to exclude from the cache in “Never cache the following pages:” field. In your case it should be like this:
    wp-.*\.php
    index\.php
    /accident-doctor-locator/
    To exclude JS file from being minified (if Minify is set on Auto) go to Performance>Minify and scroll down to advanced sub-box. add the path of the specific JS file in “Never minify the following JS files:” filed. I.E

    wp-content/plugins/yourzipcodeplugin/js/somejs.js

    You might want to exclude all other JS and CSS files of the mentioned plugin from being minified which can be done in the same way as mentioned above.

    I hope this helps and if you have any other questions please ask away.

    Plugin Support Marko Vasiljevic

    (@vmarko)

    Hello @workky,

    Just to add, if Yount to exclude certain page from being minified you can do so in performance>minify advanced sub-box, “Never minify following pages” field. With this you can ignore the specified pages / directories. Use relative paths. Omit: protocol, hostname, leading forward slash and query strings.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Not caching or minify certain pages’ is closed to new replies.