Skip to:
Content
Pages
Categories
Search
Top
Bottom

HOW TO: manually combine all js and css files to serve from subdomain?

  • @nanchante

    Participant

    … following on from the performance improvement thread, perhaps someone that knows can inform us of how to do this.

    I already have a combine script that I use elsewhere on my site, but am not sure how to do this within buddypress.

    What do i need to modify in order to grab all the js and css files so I can combine them mysel and place them in the header (css) and footer (js) please?

    Perhaps likewise with images too?

Viewing 3 replies - 1 through 3 (of 3 total)
  • @gunju2221

    Participant

    So you need to put in the JS into your multisite? You can get it from the Functions.php of the default theme.

    Same with the CSS, but in default.css

    @nanchante

    Participant

    I need to include all the various plugin cs and js too though….

    @gregfielding

    Participant

    The plugins seem to be the poison here. Many include their own separate CSS and JS files. Combining seems impractical because of upgrades, but a script to load plugin files from separate domains would be awesome.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘HOW TO: manually combine all js and css files to serve from subdomain?’ is closed to new replies.
Skip to toolbar