{"id":17685573,"date":"2024-04-14T13:35:37","date_gmt":"2024-04-14T13:35:37","guid":{"rendered":"https:\/\/wordpress.org\/support\/topic\/render-blocking-12\/"},"modified":"2024-04-14T13:35:37","modified_gmt":"2024-04-14T13:35:37","slug":"render-blocking-12","status":"publish","type":"topic","link":"https:\/\/wordpress.org\/support\/topic\/render-blocking-12\/","title":{"rendered":"Render blocking"},"content":{"rendered":"\n<p class=\"wp-block-paragraph\">The css file of social snap is a render blocking source, slowign down my page load. I know the plugin is configured well for speed, but how can I further improve this?<br \/><br \/>I tried de-enqueing the style and then add the CSS to my main file, but the CSS still gets loaded.<br \/><\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Here is what I tried:<br \/>function remove_social_snap_style() {<br \/>wp_dequeue_style(&#8216;socialsnap-styles&#8217;);<br \/>wp_deregister_style(&#8216;socialsnap-styles&#8217;);<br \/>}<br \/>add_action(&#8216;wp_enqueue_scripts&#8217;, &#8216;remove_social_snap_style&#8217;, 999);<br \/><br \/>Any other suggestion would be helpful.<\/p>\n","protected":false},"template":"","class_list":["post-17685573","topic","type-topic","status-publish","hentry","topic-tag-css"],"jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/topic\/17685573","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\/17685573\/revisions"}],"wp:attachment":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/media?parent=17685573"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}