Title: GT Metrix show 0 score even though Optimize JavaScript Code was enable??
Last modified: April 24, 2020

---

# GT Metrix show 0 score even though Optimize JavaScript Code was enable??

 *  Resolved [quyle](https://wordpress.org/support/users/quyle/)
 * (@quyle)
 * [6 years, 1 month ago](https://wordpress.org/support/topic/gt-metrix-show-0-score-even-though-optimize-javascript-code-was-enable/)
 * 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: [http://prntscr.com/s50t30](http://prntscr.com/s50t30)
   [http://prntscr.com/s50t8o](http://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 6 years, 1 month ago by [quyle](https://wordpress.org/support/users/quyle/).
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fgt-metrix-show-0-score-even-though-optimize-javascript-code-was-enable%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

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

 *  Plugin Author [Optimizing Matters](https://wordpress.org/support/users/optimizingmatters/)
 * (@optimizingmatters)
 * [6 years, 1 month ago](https://wordpress.org/support/topic/gt-metrix-show-0-score-even-though-optimize-javascript-code-was-enable/#post-12723537)
 * 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](https://wordpress.org/support/users/quyle/)
 * (@quyle)
 * [6 years, 1 month ago](https://wordpress.org/support/topic/gt-metrix-show-0-score-even-though-optimize-javascript-code-was-enable/#post-12724771)
 * > 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: [http://prntscr.com/s5612z](http://prntscr.com/s5612z)(
   but the home page score still 0). Any thought? Thank you very much!
 *  Plugin Author [Optimizing Matters](https://wordpress.org/support/users/optimizingmatters/)
 * (@optimizingmatters)
 * [6 years, 1 month ago](https://wordpress.org/support/topic/gt-metrix-show-0-score-even-though-optimize-javascript-code-was-enable/#post-12724916)
 * 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](https://wordpress.org/support/users/quyle/)
 * (@quyle)
 * [6 years, 1 month ago](https://wordpress.org/support/topic/gt-metrix-show-0-score-even-though-optimize-javascript-code-was-enable/#post-12728569)
 * 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: 
   [http://prntscr.com/s5kogd](http://prntscr.com/s5kogd) [http://prntscr.com/s5kokb](http://prntscr.com/s5kokb)
 *  Plugin Author [Optimizing Matters](https://wordpress.org/support/users/optimizingmatters/)
 * (@optimizingmatters)
 * [6 years, 1 month ago](https://wordpress.org/support/topic/gt-metrix-show-0-score-even-though-optimize-javascript-code-was-enable/#post-12728797)
 * 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](https://wordpress.org/support/users/quyle/)
 * (@quyle)
 * [6 years, 1 month ago](https://wordpress.org/support/topic/gt-metrix-show-0-score-even-though-optimize-javascript-code-was-enable/#post-12732471)
 * 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 ([http://prntscr.com/s638op](http://prntscr.com/s638op)),
   but when I checked it in my Files, it only shows 4KB ([http://prntscr.com/s6391m](http://prntscr.com/s6391m))
   Do you know why is that? Thank you and best regards!
 *  Plugin Author [Optimizing Matters](https://wordpress.org/support/users/optimizingmatters/)
 * (@optimizingmatters)
 * [6 years, 1 month ago](https://wordpress.org/support/topic/gt-metrix-show-0-score-even-though-optimize-javascript-code-was-enable/#post-12732535)
 * 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.

 * ![](https://ps.w.org/autoptimize/assets/icon-256X256.png?rev=2211608)
 * [Autoptimize](https://wordpress.org/plugins/autoptimize/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/autoptimize/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/autoptimize/)
 * [Active Topics](https://wordpress.org/support/plugin/autoptimize/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/autoptimize/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/autoptimize/reviews/)

 * 7 replies
 * 2 participants
 * Last reply from: [Optimizing Matters](https://wordpress.org/support/users/optimizingmatters/)
 * Last activity: [6 years, 1 month ago](https://wordpress.org/support/topic/gt-metrix-show-0-score-even-though-optimize-javascript-code-was-enable/#post-12732535)
 * Status: resolved