• Resolved janbuchar

    (@janbuchar)


    I installed the plugin, enabled handling of CSS and JS files and combining for both. It seems to work well for CSS, but JS files are still being sent one by one. For example, I see popper.min.js, bootstrap.min.js and core.min.js.

    Is this the intended behavior? Do I need to configure anything else? I’d prefer to have a single javascript file with a name that changes when the content does.

Viewing 1 replies (of 1 total)
  • Plugin Author Raul P.

    (@alignak)

    Combining CSS/JS is no longer recommended if you are on a modern hosting or use a CDN, however you can still do it if there are no conflicts (merging somethings breaks scripts).

    If you are seeing “popper.min.js, bootstrap.min.js and core.min.js” then probably, you haven’t configured the plugin Render Blocking JS files, Defer JS Files, Defer Inline JavaScript, Delay third party scripts until user interaction, or perhaps you have disabled minification.

    CSS is processed automatically and you can then ignore or async what you want.
    JS is manual, so you need to specify what you want to render block, defer or delay.

    On the settings tab there are suggested defaults, though each site needs it’s own settings, so you need to try and see what works for you.

Viewing 1 replies (of 1 total)
  • The topic ‘Combining javascript files’ is closed to new replies.