Viewing 15 replies - 1 through 15 (of 15 total)
  • Plugin Contributor Marko Vasiljevic

    (@vmarko)

    Hello @pmagony,
    Have you tried to exclude that .js file from being minified?

    Thread Starter F C

    (@pmagony)

    Hi Marko,

    That’s exactly what I’ve done by adding it to the Minify file management section. I’ve also added the corresponding/supporting CSS files that go with it.

    Plugin Contributor Marko Vasiljevic

    (@vmarko)

    Hello @pmagony,
    I am not sure if I understand. In the Performance>minify section scroll down to Advanced and add that .js file to “Never minify the following JS files:”.
    Use provided instructions: “Always ignore the specified JS files. Use relative paths. Omit: protocol, hostname, leading forward slash and query strings.”

    Thread Starter F C

    (@pmagony)

    You’re totally right. I was moving to fast and didn’t even realize that I was adding them to the wrong place. Thanks for your help.

    I do have one more question. In the ignore box, it clearly states to use relative paths only. But some of these includes are remotely being pulled in. How do I reconcile that? Do I need to store a local copy of the file and modify the Mailchimp plug-in to reference locally instead? Ex:

    https://downloads.mailchimp.com/js/signup-forms/popup/unique-methods/embed.js

    Plugin Contributor Marko Vasiljevic

    (@vmarko)

    Hello,

    You can use the entire URL or you can just use /js/signup-forms/popup/unique-methods/embed.js

    Thread Starter F C

    (@pmagony)

    Using the absolute full path is not working, and using relative path despite those files not existing locally, isn’t working either.

    Plugin Contributor Marko Vasiljevic

    (@vmarko)

    Hello,

    There’s a Box in Advanced block: Use Regular Expressions for file name matching. Check that Box and note that you should not include the external library there.

    Thread Starter F C

    (@pmagony)

    That box doesn’t exist on my view. I’m viewing minify options, advanced section. Is it a premium feature?

    Plugin Contributor Marko Vasiljevic

    (@vmarko)

    Hello,

    In the advanced section, Just above “Save all settings button” there is a checkbox select it and save all settings.

    Thread Starter F C

    (@pmagony)

    See here please: https://prnt.sc/l3n6bl

    Plugin Contributor Marko Vasiljevic

    (@vmarko)

    Hello,

    What version of the W3 Total cache are you using?

    Thread Starter F C

    (@pmagony)

    Version 0.9.7

    Plugin Contributor Marko Vasiljevic

    (@vmarko)

    Hello @pmagony,

    That option is only available when using Auto Minify. It appears that you are using Manual minify.
    You mentioned:
    That’s exactly what I’ve done by adding it to the Minify file management section.

    Did you mean you added the javascript file to the list to minify it? We’re trying to exclude the file, while you should actually be removing the file from the list in the first place.

    Thread Starter F C

    (@pmagony)

    I am manually running minify as auto setting breaks the website. So I’m controlling which JS/CSS files should be minified.

    I have NOT added the MailChimp Pop-up JS/CSS files to the minification section. On the contrary, I have added them to the ignore section. The manual settings states:

    “Select manual mode to use fields on the minify settings tab to specify files to be minified, otherwise files will be minified automatically.”

    So even if it is set to manual, any files not explicitly handled will get auto minified. Which leads us back to:

    Using the absolute full path is not working in the ignore box, and using relative path despite those files not existing locally, isn’t working either.

    Plugin Contributor Marko Vasiljevic

    (@vmarko)

    Hello,

    I am sorry if I was not clear.
    If you are using Manual option, there is no need to add any file to ignored section. When using manual, only the files that have been added manually will be minified.
    To conclude, the Ignored section is used only when Auto minify option is on. Otherwise, there is no need to exclude files from being minified as the only files that will be minified are the files you add manually.
    I hope I am being more clear now. And I hope this helps.

Viewing 15 replies - 1 through 15 (of 15 total)
  • The topic ‘Mailchimp Thank You Pop-up Minify Issues’ is closed to new replies.