• I am using the Coming Soon plugin to keep visitors from seeing my site construction. We’ve discovered that the counter date/time function of the plugin does not display with the W3 Total Cache HTML minify enabled. This is a shame as my site runs faster with the minify enabled.

    Is there a way that the HTML minify can affect all of my plugins EXCEPT for the Coming Soon plugin?

    Any advice appreciated. Thanks.

Viewing 15 replies - 1 through 15 (of 17 total)
  • HTML minify shouldn’t be affecting your Coming Soon Plugin. I’m running the same plugin with nearly every functionality of W3TC running.

    You most likely have some malformed code in your html and that is causing something to break when you minify it.

    Try to run your html though a validator (https://validator.w3.org/) and see what type of errors you get.

    Thread Starter ericreynolds007

    (@ericreynolds007)

    Thank you for the response. I ran my home page https://montclairvillagelive.com through the validator, and it didn’t find any errors with the plugin’s code. It only gave me a warning in re: using an experimental feature HTML5 Conformance Checker.

    Do you have HTML minify turned off right now, because your timer seems to be working for me.

    Ahh you’re running the “Custom Coming Soon” plugin and I’m running “Simple Coming Soon”. It has to be something with the JS on that page. Try moving that inline JS into a file instead of having it load in the HTML.

    Thread Starter ericreynolds007

    (@ericreynolds007)

    Yes. It was disabled. I enabled it.

    I’m pretty sure it’s the JS on that page that is causing the problem. Move it into your theme.js file, or its own file and call it in your head. That should correct the problem unless you’re minifying the theme.js file also, then I would recommend putting it in its own JS file and not minifying that file.

    The problem is with the JS when it is minified. You could copy that script and test it in JS lint ( and see if it gives any errors.

    Thread Starter ericreynolds007

    (@ericreynolds007)

    Thanks Buddy. I am going to make the JS change when I get back to the office. Sorry about your birds. ??

    Thread Starter ericreynolds007

    (@ericreynolds007)

    I tried to move all the js (there’s not much) into the theme.js file, and I called it in my head, and I haven’t minified any of the js files in W3 Total Cache. Unfortunately, that didn’t do the trick. ??

    Even when I leave html minify enabled. Yet disable the inline html js and css, the problem exists.

    hmm… I’m pretty sure it has to do with the JS since everything else seems to work when you enable HTML minify, but I’m not sure what else to try.

    Hopefully Fredrick or someone else will see this and be able to help.

    Sorry I wasn’t able to solve it for you.

    Thread Starter ericreynolds007

    (@ericreynolds007)

    Thanks for your help. I will let you know how my situation turns out. I have the plugin developer looking into it as well. ??

    Plugin Contributor Frederick Townes

    (@fredericktownes)

    You can wrap the code that can’t be minified in an HTML comment and add it to the reserved strings in the HTML minify section and then fully minify the page except for that code snippet and see how that behaves.

    Thread Starter ericreynolds007

    (@ericreynolds007)

    Thank you Frederick. I am going to give this a shot. ??

    Plugin Contributor Frederick Townes

    (@fredericktownes)

    You’re welcome.

    Hi Frederick. I am at a loss. I commented out the html code in the index.php file that relates to the countdown timer, and added the comment to the ignored comments stem. I emptied the site cache, logged out, then visited the maintenance page to find the countdown timer still doesn’t display. The site is https://montclairvillagelive.com ??

    Thread Starter ericreynolds007

    (@ericreynolds007)

    Frederick, would you happen to know why the custom Coming Soon plugin would slow my multisite down by 60%? I love W3 Total Cache. I discovered the settings that make my sites whistle! Unfortunately, I needed a fancy maintenance plugin, came across NetChillies Coming Soon plugin, installed it, and now my site is at a crawl with the plugin and W3 Total Cache enabled.

    I deactivate the Coming Soon plugin, my sites move quickly. I enable the Coming Soon plugin and disable W3 Total Cache, my sites move well (but not as fast with W3 Total Cache dialed in).

    Could there be a conflict? Why would one maintenance plugin slow everything down? I’m curious.

Viewing 15 replies - 1 through 15 (of 17 total)
  • The topic ‘[Plugin: W3 Total Cache] Can HTML Minify ignore one of my plugins?’ is closed to new replies.