Skip to:
Content
Pages
Categories
Search
Top
Bottom

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

  • Avatar of nanchante
    nanchante
    Participant

    @nanchante

    … 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)
  • Avatar of Virtuali
    Virtuali
    Participant

    @gunju2221

    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

    Avatar of nanchante
    nanchante
    Participant

    @nanchante

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

    Avatar of gregfielding
    gregfielding
    Participant

    @gregfielding

    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)

You must be logged in to reply to this topic.