• Resolved zo

    (@zotezo)


    Hi,
    First of all let me appreciate AO is very very good plugin and change my website page rank very fast with the help of Frank, a really helpful person.

    We are recently facing these error-Remove unused JavaScript- 1.35 Sec
    wp-content/cache/autoptimize/2/js/autoptimize_dc45fa673c1fd2cbca7176f4eed83387.js-113 KB
    and
    Remove unused CSS-1.29 Sec-
    wp-content/cache/autoptimize/2/css/autoptimize_61765270d23ab6793a7b51b1830bccbc.css
    How can I get rid of this? Please help..
    Thanks

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

    (@optimizingmatters)

    The unused CSS/JS is being reported as being Autoptimize’s, but AO merely aggregates all the CSS/ JS provided by your theme & plugins, so if you (really) want to tackle “remove unused CSS/JS” then you should look into your theme & plugins (you might be able to get some improvement using e.g. “plugin organizer” to only allow plugins to work on specific pages). Moreover the unused CSS/ JS will likely be different for different pages (or parts of your site), so that would lead to different autoptimized CSS/JS-files being loaded on different pages.

    So I don’t believe the “remove unused CSS/JS” is actionable in WordPress in the current state no ??

    hope this clarifies,
    frank

    Thread Starter zo

    (@zotezo)

    Thanks frank you are always helpful …

    Plugin Author Optimizing Matters

    (@optimizingmatters)

    you’re welcome zo ??

    (little spoiler: I know of a company working on an unused CSS solution fully integrated in Autoptimize, so this might be coming later this year)

    Thread Starter zo

    (@zotezo)

    Is it possible to unmerge that css and js? Any other way?
    wp-content/cache/autoptimize/2/css/autoptimize_61765270d23ab6793a7b51b1830bccbc.css
    wp-content/cache/autoptimize/2/js/autoptimize_dc45fa673c1fd2cbca7176f4eed83387.js

    Plugin Author Optimizing Matters

    (@optimizingmatters)

    unticking “optimize JS” and “optimize CSS” would work ??

    or loading the page with ?ao_noptimize=1 appended to the URL.

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Remove unused CSS and Remove unused JavaScript’ is closed to new replies.