• lyden

    (@lydenyardley)


    I run very little JS on my site, but on the contact page, I use a conditional fields plugin for CF7.

    When I activate ‘Merge Scripts’ in Swift, this breaks and all fields are shown simultaneously. I tried adding every script to the exclusion list one at a time, and verified via dev tools, but the end result is the same. I also tried deselecting minify scripts. No change.

    Only disabling ‘Merge Scripts’ restores the functionality. This seems like a major issue and would appreciate your investigation. Happy to give you login details if you’d like?

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

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Contributor Fred

    (@fredawd)

    Merge can break certain things because the mechanism doesn’t always load them in the exact perfect order. You would have this problem with other merge plugins as well.

    It is probably an inline Script which is causing your issue. You need to find that and exclude it in Exclude Inline Scripts.

    Fastest solution is to exclude the contact page from cache or keep Merge Scripts disabled. If your website support HTTP/2 there is most likely no negative impact on pageload or just

    (Advanced) configuration is not included in our support for Lite users.

    Thread Starter lyden

    (@lydenyardley)

    I tried excluding inline scripts, but I still had no success. If you’d like access to investigate in case there’s a bug… you’d be welcome?

    Otherwise, I have removed the contact page from the cache, which is a shame since I also lose the styles merge+minify from this page now.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Merge Scripts breaks page even when I exclude all scripts’ is closed to new replies.