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

    (@optimizingmatters)

    Autoptimize cannot remove unused JS as it does not know what is used/ what is not used 4vke. If the recommendation did not appear before you were using Featherlight, you could ask the developer if he can make his code more lean maybe?

    hope this helps,
    frank

    Thread Starter 4vke

    (@4vke)

    @optimizingmatters yes, Google Insights starts to swear after installing and activating the Featherlight plugin.

    But since the error associated with the name of your plugin, I thought that it was you who would help to deal with it.

    Thanks for the quick response anyway. I’m going to create a new topic πŸ™‚

    Plugin Author Optimizing Matters

    (@optimizingmatters)

    But since the error associated with the name of your plugin, I thought that it was you who would help to deal with it.

    afraid not; AO merely combines the JS provided by your theme & plugins and as such the featherlight JS is in the autoptimized file as well. although the JS is minified (meaning removing line breaks and spaces/ tabs and comments), AO cannot remove _code_.

    will close the topic as resolved, but feel free to follow up if needed!

    frank

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘Autoptimize + Featherlight = Remove unused JavaScript. How to fix?’ is closed to new replies.