• Hello,

    When performing a speed test, I see now 3 js scripts that are loaded seperately from AO’s optimized one. These are

    wp-embed.min.js
    jquery-migrate.min.js
    comment-reply.min.js

    I am confident that these are not in the exclude section of the plugin. I only have js/jquery/jquery.js defined there.

    Is there a reason for these scripts to skip AO’s JS combining? And how to fix it?

    PS: I use Async JavaScript plugin in conjunction with AO. But nothing is defined in exclude section of this plugin

    Thanks

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author Optimizing Matters

    (@optimizingmatters)

    those should indeed be aggregated by default. can you share your URL adonix?

    Thread Starter adonix

    (@adonix)

    Plugin Author Optimizing Matters

    (@optimizingmatters)

    2 possibilities;
    * either AO cannot read the files from the filesystem (in which case it skips aggregation). it might not be a coincidence that those 3 (or 4 if you count jquery.js) all are in /wp-includes/ while that others (that are aggregated) are in /wp-content/. Moreover, when seeing your page un-optimized (by adding ?ao_noptimize=1 to the URL), those 4 are the only files in /wp-includes/. this _could_ be due tot filesystem rights.
    * or there is a plugin (or your theme) that uses AO’s API to (also) exclude those files specifically or /wp-includes/ in general.

    my money would be on a plugin or theme hooking into AO’s API actually ..

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Some JS not included in optimization’ is closed to new replies.