Forums › Forums › Search & Filter Pro › Performance
Tagged: performance
- This topic has 5 replies, 2 voices, and was last updated 4 years ago by Trevor.
-
Anonymous(Private) October 24, 2020 at 1:25 pm #263950
I’m using S&F Pro on a big event site. I have a variety of different CPTs that also have alot of ACFs, taxonomies, etc. To achieve a filterable feed, I’m using Ele Custom Skin Pro alongside Search & Filter Pro w/ Ajax enabled.
But on some larger sites pulling more than 50 or so posts, the performance starts to drop considerably. Even on massive servers (like 16vcpu/48GB digital ocean droplets), it’s noticeably slow. When narrowing down a search it’s okay, but worse, when unchecking any filters to bring it back to default, it takes even longer – seems to be longer than the original page load in upwards of 10-15 seconds.
Not sure if it’s search & filter pro, Ele Custom Skin or just the mere number of posts/data being pulled. Thoughts?
Trevor(Private) October 24, 2020 at 3:00 pm #263971The speed will be related to the complexity of the search (number of posts, number of form fields, number of terms in each field, whether you are using Auto Count or not) and the server.
Traditional hosting servers are frequently not configured to handle the data requests between the CPU, various caches and the disk drive. This is not a criticism of such hosting, they meet a need for most users. But, when you have large datasets, you may need to consider (potentially) more expensive hosting if you wish/need to avoid the speed/response issues. I am loath to make recommendations, but can, privately, if you wish. There is only one specialist who operate at the very top end of performance though, and, not unexpectedly, they are also not inexpensive. That would be Kinsta.
Because search results are dynamic, using a CDN for the results pages will also slow the process down, as they will not have a cache of the particular results requested.
If I might ask, who built the server stack on the droplet? I ask because I use Digital Ocean (on a $10 droplet) without these issues, and the stack is built and maintained by Cloudways.
Anonymous(Private) October 24, 2020 at 3:50 pm #263989Thank you for your quick response. I’ve seen your demo and it is super fast – which is why I’m questioning my setup. Based on the number of posts and filterable taxonomies you have, mine shouldn’t be too much different.
The server is setup on Gridpane which is a comparable stack to cloudways. It’s way beyond a $10 box though… abotu 32x beyond. It’s the only site on the server so we have some performance tweaks as well in regards to PHP, MySQL, etc.
Can I ask how you are creating your feed/loop? I am using Ele Custom Skin with Elementor Pro along with the SFP Elementor Add-on. I’m not confident that is the best approach though. I see you’re using Twenty Seventeen which I know is clean and light as well.
Anonymous(Private) October 24, 2020 at 3:59 pm #263993I will add that these sites are essentially “membership” sites, meaning everyone has to be logged in to view. I know that puts a bigger strain on WP.
With that said, caching is naturally disabled for logged in users.
HOWEVER, we are using Cloudflare CDN. Are you recommending we block any pages with SFP from hitting the CDN?
Trevor(Private) October 24, 2020 at 4:28 pm #263999On pages that have dynamic content, you should disable any CDN.
Other than that, I cannot understand why it would be so slow. It may be content weight (images etc), but it should not be making that much of a difference.
Yes, our demo doesn’t use much by way of plugins, but neither Elementor nor Ele Custom Skins are that slow. I would check the assets loading cascade to see where the issue is. To do that, switch off the DN and then load the site from here:
https://www.site24x7.com/web-page-analyzer.html
Make sure you test it from a server location near to where yours is really located (with DO you should know that anyway).
-
AuthorPosts