{"id":17439738,"date":"2024-02-20T13:56:19","date_gmt":"2024-02-20T13:56:19","guid":{"rendered":"https:\/\/wordpress.org\/support\/topic\/help-to-exclude-javascript-files\/"},"modified":"2024-02-20T13:56:19","modified_gmt":"2024-02-20T13:56:19","slug":"help-to-exclude-javascript-files","status":"publish","type":"topic","link":"https:\/\/wordpress.org\/support\/topic\/help-to-exclude-javascript-files\/","title":{"rendered":"Help to Exclude JavaScript Files"},"content":{"rendered":"\n<p class=\"wp-block-paragraph\">Hello Team,<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Thank you for the recent updates; they have significantly improved the experience on the site.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">I am working on optimizing the site&#8217;s performance with WP-Rocket, specifically trying to delay the loading of JavaScript to speed up the site. However, this has caused a minor issue with the image gallery in the listings, as users now need to interact with the screen for them to fully load.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">It seems that if I exclude the JavaScript files of the gallery from the WP-Rocket settings, the problem is resolved.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Could you help me identify which JavaScript files of the gallery I should add to the exclusion list? I am attaching a screenshot to show you exactly what is happening.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Thank you for your help.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">https:\/\/paste.pics\/0b63dab3237138b86479a00bd6f89499<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">https:\/\/paste.pics\/8c25f77d6b17f12c4a13463feb0512cc<\/p>\n","protected":false},"template":"","class_list":["post-17439738","topic","type-topic","status-publish","hentry"],"jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/topic\/17439738","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/topic"}],"about":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/types\/topic"}],"version-history":[{"count":0,"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/topic\/17439738\/revisions"}],"wp:attachment":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/media?parent=17439738"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}