{"id":9705199,"date":"2017-11-21T09:54:05","date_gmt":"2017-11-21T09:54:05","guid":{"rendered":"https:\/\/wordpress.org\/support\/topic\/performance-issues-25\/"},"modified":"2017-11-21T10:29:11","modified_gmt":"2017-11-21T10:29:11","slug":"performance-issues-25","status":"publish","type":"topic","link":"https:\/\/wordpress.org\/support\/topic\/performance-issues-25\/","title":{"rendered":"Performance issues"},"content":{"rendered":"<p>Hello,<\/p>\n<p>This plugin is awesome, thanks a lot for your work. To make it even better you might consider increasing performance by:<\/p>\n<p>&#8211; Loading photoswipe js only on pages where a gallery is used.<br \/>\n&#8211; Loading scripts in footer instead of header (or at least trying to reduce the number of scripts in header).<br \/>\n&#8211; I don&#8217;t think you need to enqueue jQuery again, as it is included in wordpress just loading it as a dependency of your other scripts should prevent any extra loading.<\/p>\n<p>Thanks a lot!<\/p>\n","protected":false},"template":"","class_list":["post-9705199","topic","type-topic","status-publish","hentry"],"jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/topic\/9705199","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":4,"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/topic\/9705199\/revisions"}],"predecessor-version":[{"id":9705347,"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/topic\/9705199\/revisions\/9705347"}],"wp:attachment":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/media?parent=9705199"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}