Support » Plugin: LiteSpeed Cache » JS optimization – difiiculty excluding a script (MailChimp validate)

  • Resolved James Maiden


    Hi there,

    My page has a MailChimp subscribe form that uses:

    <script type='text/javascript' src='//'></script>

    When I combine JS, this is breaking some other elements, so I want to exclude that.

    I’ve tried a couple of approaches:

    using the tuning section of the plugin settings to exclude the file – mc-validate.js – but it doesn’t seem to accept the externally sourced file. Is that right?

    I’ve also tried adding data-no-optimize="1" to the call for the script, but that seems to be getting stripped out. Is that right?

    Any thoughts how i can prevent that particular script from being combined with my other JS?


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

Viewing 1 replies (of 1 total)
  • Plugin Support Hai Zheng⚡



    If you use data-no-optimize="1", that js will be kept where is was while not moved to top/bottom.

    Will it be combined? I don’t think so as its external link.

Viewing 1 replies (of 1 total)
  • The topic ‘JS optimization – difiiculty excluding a script (MailChimp validate)’ is closed to new replies.