• Resolved quyle

    (@quyle)


    Hi there,
    I’ve enable all necessary things in setting area to optimise the CSS/JS code and have 100% in PageSpeed Score of GT Metrix but in YSLow tab it shows Minify JavaScript and CSS score of 0.
    I am not sure why it that?
    Could you please help me explain why?
    here is screenshot:
    https://prntscr.com/s50t30
    https://prntscr.com/s50t8o
    Also, does your plugin not have clear cache function? as one of the thread you mentioned to a user that he needs to keep WPFC plugin as it provides clear cache button.
    Thank you very much and have a nice day!

    • This topic was modified 4 years, 11 months ago by quyle.

    The page I need help with: [log in to see the link]

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

    (@optimizingmatters)

    That’s the inline javascript when not aggregated quyle. You _could_ tick that option, but you’ll have to keep an eye on cache size (which is why it’s off by default).

    As for your 2nd question: Autoptimize does have a cache clear function (both in the top menu bar and on the settings page itself), but AO does not do page caching, so I strongly recommend a page caching plugin to be installed (e.g. KeyCDN Cache Enalber or WP Super Cache or WPFC indeed if you have that already).

    hope this clarifies,
    frank

    Thread Starter quyle

    (@quyle)

    That’s the inline javascript when not aggregated quyle.

    Thank you for your reply!
    As shown in the screenshot, I think I have aggregated all of necessary JS files.
    My cache file is only 4KB when enabling Also aggregate inline JS? option. Is that an acceptable amount?
    Also, when I test a random blog post, GT MEtrix shows Minify JavaScript and CSS score of 70. Here: https://prntscr.com/s5612z (but the home page score still 0).
    Any thought?
    Thank you very much!

    Plugin Author Optimizing Matters

    (@optimizingmatters)

    ah, but some inline JS cannot be aggregated by AO at all, guess that’s what’s happening. wouldn’t worry about that too much to be honest, this would at a maximum have a couple of microseconds impact ??

    Thread Starter quyle

    (@quyle)

    Thanks for your reply but I am still not clear why “Minify JavaScript and CSS” score at my home page totally different from post page (0 vs 60) ? ??
    Here: https://prntscr.com/s5kogd
    https://prntscr.com/s5kokb

    Plugin Author Optimizing Matters

    (@optimizingmatters)

    well, what do you see when you click on the little triangle in the 2nd screenshot? I suppose there will be less inline tags? ??

    Thread Starter quyle

    (@quyle)

    Hi,
    Thank you for your reply :d
    One thing I am not clear about cache size is in the WP dashboard, at the top it shows cache size is 47.25M (https://prntscr.com/s638op), but when I checked it in my Files, it only shows 4KB (https://prntscr.com/s6391m)
    Do you know why is that?
    Thank you and best regards!

    Plugin Author Optimizing Matters

    (@optimizingmatters)

    check the subdirectories of cache/autoptimize, you’ll see a js and a css directory that will I’m pretty sure have more then a couple of files in them ??

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘GT Metrix show 0 score even though Optimize JavaScript Code was enable??’ is closed to new replies.