{"id":13618600,"date":"2020-11-04T04:53:45","date_gmt":"2020-11-04T04:53:45","guid":{"rendered":"https:\/\/wordpress.org\/support\/topic\/slow-loading-performance\/"},"modified":"2020-11-04T04:53:45","modified_gmt":"2020-11-04T04:53:45","slug":"slow-loading-performance","status":"publish","type":"topic","link":"https:\/\/wordpress.org\/support\/topic\/slow-loading-performance\/","title":{"rendered":"Slow Loading Performance"},"content":{"rendered":"<p>Hello!<\/p>\n<p>I&#8217;ve been setting up the KVCore Plugin for a short while now and I noticed a problem with loading times that I&#8217;ve narrowed down on the properties page (I think). When I check out the network flow on the properties pages of the plugin right now, it looks like the system requests 800 listings on load, which is just a ton of data and work on the kvcore system&#8217;s side and it&#8217;s resulting in delays of nearly 15 seconds before the page loads. If I go into the plugin and modify the file &#8220;kvcore-idx\/includes\/class-kvcore.php&#8221; @ line 103 from &#8220;800&#8221; to be something lower, like 250, it is dramatically faster.<\/p>\n<p>I feel like there might be a more efficient way to tackle the problem, maybe with some sort of paging system that doesn&#8217;t actually need to do any calculations on the data other than how many are being pulled and then pulling the actual property data on demand as it is actually needed. I may try implementing something of the sort, but I feel that it should be considered for performance if you plan on introducing this plugin as an addon service for future customers.<\/p>\n<p>Thank you!<\/p>\n","protected":false},"template":"","class_list":["post-13618600","topic","type-topic","status-publish","hentry"],"jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/topic\/13618600","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\/13618600\/revisions"}],"wp:attachment":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/media?parent=13618600"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}