Support » Plugin: Dependency Minification » Concatenate External Scripts

  • Resolved mr_jonboy

    (@mr_jonboy)


    I appreciate the work on this plugin as it appears to be one of the few that doesn’t break pages on our site. We have tried W3 and others which have done just that.

    With the amount of plugins our site uses we have a ton of requests and it appears many of them are external. Looking at the DM dashboard about 40-50 scripts don’t combine and I am assuming is because they are external. I see the line in the DM description that reads, “By default excludes external scripts from being concatenated and minified, but they can be opted in via the dependency_minification_excluded filter.” I have commented this filter out but I’m guessing that is not the correct thing to do here as many of the scripts are still showing N/A for compression.

    Can you help with this and/or let me know another way to further concatenate our files?

    Thank you,
    Jon

    http://wordpress.org/plugins/dependency-minification/

Viewing 1 replies (of 1 total)
  • Plugin Author Weston Ruter

    (@westonruter)

    You should be able to add this to your theme or to a plugin:

    add_filter( 'dependency_minification_excluded', '__return_false' );

Viewing 1 replies (of 1 total)
  • The topic ‘Concatenate External Scripts’ is closed to new replies.