Wordpress LScache Plugin: GT metrics Defer parsing of JavaScript wont go away -what settings to use?
Last Updated on: Wed, 15 Apr 2026 00:00:02 HI, I got GT metrics report that Defer parsing of JavaScript failed speed rating. What settings should I use? I have sent LSCache Report number: JODYFZOE This is GT Metrix report: https://gtmetrix.com/reports/stpaulassistedliving.us/MdIkVpYs Help! Irina The page I need help with: https://stpaulassistedliving.us/ Hello @irinaharr, Please try Litespeed cache -> Settings -> Optimize -> Load JS Deferred, if you find your layout is broken after turned ON this setting, please follow Troubleshooting LSCache Optimization to find out the JS. Hi, I have enabled Load JS Deferred and purged all cache and yet gtmetrix shows F rating asnd the same list of failed JS links: Defer parsing of JavaScript F (0) JS HIGH 2.4MiB of JavaScript is parsed during initial page load. Defer parsing JavaScript to reduce blocking of page rendering. https://www.youtube.com/yts/jsbin/player_ias-vflGDVIxr/en_US/base.js (993.5KiB) https://www.youtube.com/yts/jsbin/player_ias-vflGDVIxr/en_US/base.js (993.5KiB) https://www.gstatic.com/recaptcha/releases/0bBqi43w2fj-Lg1N3qzsqHNu/recaptcha__en.js (214.8KiB) https://www.youtube.com/yts/jsbin/www-embed-player-vflH2_UhU/www-embed-player.js (91.2KiB) https://www.youtube.com/yts/jsbin/www-embed-player-vflH2_UhU/www-embed-player.js (91.2KiB) https://stpaulassistedliving.us/wp-includes/js/jquery/jquery.js?ver=1.12.4-wp (86.8KiB) https://stpaulassistedliving.us/ (5.8KiB of inline JavaScript) https://www.youtube.com/embed/0MBGSoYI_LI?iv_load_policy=3&playlist=0MBGSoYI_LI&enablejsapi=1&disablekb=1&autoplay=0&controls=1&showinfo=0&rel=0&loop=1&origin=https%3A%2F%2Fstpaulassistedliving.us&widgetid=1 (3.6KiB of inline JavaScript) https://www.youtube.com/embed/ANuRtyzdMYY?iv_load_policy=3&playlist=ANuRtyzdMYY&enablejsapi=1&disablekb=1&autoplay=0&controls=1&showinfo=0&rel=0&loop=1&origin=https%3A%2F%2Fstpaulassistedliving.us&widgetid=3 (3.6KiB of inline JavaScript) I have sent another report: Report number: CURQBTZG Report date: 11/08/2019 16:40:41 Hi @irinaharr, AsyncJS can only convert the JS that is directly referenced in your HTML, for the JS that is loaded in an iframe (as youtube embeds are) it can not convert to async. Normally our iframe lazyload can defer Youtube embed JS, but I find your Youtube video is not rendered by iframe(or wp video embed shortcode) so iframe lazyload does not work. Please check to see can you change the embed method. For recaptcha__en.js, its generated by another JS https://www.google.com/recaptcha/api.js, even defer this JS recaptch__en.js still warned by GT matrix, if want to defer this file you can try to use Javascript API to set the callback. For those inline JavaScript, you need to put it into .js file to load it asynchronously. Thanks, Stanley Thank you! I did as suggested and tuned on only JS minify and Load JS Deferred and my site runs fast and with no side-effects. Very much appreciate your help! Irina
LiteCache Rush: Speed comes from using less, not from doing it faster
Reference