1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

XF 1.4 How to combine JS and CSS file into one file?

Discussion in 'XenForo Questions and Support' started by Betclever, Jul 27, 2015.

  1. Betclever

    Betclever Active Member

    Hello,

    How to combine JS and CSS file into one file?
    Is there any tuto and is this possible on Xenforo?

    Thanks.
     
  2. Brogan

    Brogan XenForo Moderator Staff Member

    Use script and style tags respectively.
     
  3. Mike

    Mike XenForo Developer Staff Member

    The CSS is already combined as necessary. The JS is combined as far as we think is worthwhile. Anything else is going to require custom development.
     
  4. Betclever

    Betclever Active Member

    Thanks.

    I have 9 externals JS scrips and 6 externals stylesheets. The goal is regroup all JS scripts in one script and "if possible" regroup all CSS stylesheets into one stylesheet.
    However, I use an add-on to defer all JS to the footer but it is not enough to speed up my website.
    I work with a developper but I try to do some things on my side to limit spendings.
    So, you confirm that I have no choose to ask custom dev for this?
     

Share This Page