Very slow Vantage site - problem with filtering order
Hello,
since I updated Vantage from 1.1.4 to 1.2.1 my website started loading VERY slow. It took up to 15/20 seconds to load and before updating it took less than 4 seconds.
That was more than a week ago, since I've been trying to understand what the problem could be. I optimized and repaired database tables, disabled all plugins and the child theme, minified css and
js, tweaked htaccess and many, many other possible solutions and that did a little bit but it still took 13 seconds to load the home and around 6 seconds for listings.
Using caching plugins like W3 Total Cache helped a lot for logged-out users but as soon as you logged-in the site was snail speed.
So I uploaded a copy of my website locally and tried changing the theme code file by file and the first thing I noticed is that setting Featured Listings Sort Method to "Most recent" or "Oldest" instead of "Random" in Vantage settings, the page was loading 4 seconds faster!
So then I opened
vantage/includes/core.php file and commented out line 623:
Code:
$args['meta_key'] = 'featured-home';
The website was now loading the homepage in less than 4 seconds instead of 12, which is still not good enough, but considering I have almost 150.000 listings was a good starting point.
But here's the problem: commenting that line removed featured listing from the homepage.
So now I'm here to ask developers to please take a look at this sorting option introduced in Vantage 1.2 and fix it accordingly. Thanks.