Forums

The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums JavaScript Merge all js files or not?

  • This topic is empty.
Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #161183
    taxicss
    Participant

    Hi,

    I have multiple vendor JavaScript files like slider, smooth-scroll, responsive-nav, modernizr, and my script file. In production, should I merge all these files into one?

    Thanks.

    #161235
    TheDoc
    Moderator

    We do, but it all depends on the final file size. If some of those items are large and are only used on a couple of pages then it might be best to have them as a separate file.

Viewing 2 posts - 1 through 2 (of 2 total)
  • The forum ‘JavaScript’ is closed to new topics and replies.