Support Forums

The forums are closed and will be removed when we launch our new site.

Looking for support? You can access the support system via your account.

Forums Forums Search & Filter Pro Slow TTFB because of search form

Viewing 7 posts - 1 through 7 (of 7 total)
  • Suyash Pratap
    #116297

    My Page’s Situation is –
    1. I have 3 S&F Pro Forms on one of my page.
    2. I have a looootttt of Taoxonomies that I search through ( 800+ in one form )
    3. Having 2400+ ( 800 * 3 ) Taxonomies extracted out from database everytime ( jz a theory ) the page loads causes 20+ seconds for the first byte of my page.
    4. Everything else is cached and running on WP Rocket so, if I remove S&F forms from page, page loads in 5 seconds.
    5. Single form on a different single page loads in around 8-10 seconds.
    6. This is really killing the speed of my homepage.Some method is required so tht taxonomy field’s ( Comboboxes ) Data will remain cached and help page load faster.
    7. I am using ‘Chosen’ Combobox script.
    8. Please don’t ask why I have 3 really similar looking forms on a single page, thts to resolve some theme based issue i am having in search.

    PLEASE HELP ME ASAP!!!
    really appeciated.

    Thanks in advance,
    Regards.

    Trevor Moderator
    #116370

    The scenario you describe is always going to slow things down a lot. There is not a lot you can do to prevent the need to access the data. However, your hosting choice is likely to make a huge difference.

    What type of hosting package do you have?

    Suyash Pratap
    #116374

    I have a 8GB RAM + 4 core VPS cloud hostin on ToggleBox.
    The thing is i obviously can’t have 25 seconds of load time on my homepage, so I was looking for solutions is there some ways u cn suggest.

    Wt i have in mind –
    1. Someway to hardcode the taxonomies into the combobox ( PLZZZ HELP ME OUT ON THIS BEST OPTION ).
    1. Someway to check for this once a day only ( I knw this is plugin customization, bt since this is a paid plugin….I do want to try getting my request across ).
    2. Someway to Lazyload the other 2 forms that are hidden in other tabs.
    3. Url generation from a manually created form like I have done for my phone’s app…But its kinda hard to realize it here, since arrays and data is not easily controllable on an on the go page…Its the last resort i’d have.

    Took me days to point out this to be the reason causing my site’s slowdown,so I am desperately lookin for solution

    Since rest of my website works fine, even searching for results take much lesser time than opening my site’s homepage.

    Any kind of help is appreaciated.
    Thanks.

    Trevor Moderator
    #116400

    The ‘resources’ on the server are potentially not the issue. It is the server stack. The most common to use is CentOS and cPanel.

    There can be huge differences in performance between cloud servers simply down to this. I have one with 32gb RAM, 24 CPU cores, all SSD drives, dedicated 10gbit uplink port, running Centos 7 and cPanel. It costs me about $80 a month.

    I have another with a different host with only 1GB RAM and only one CPU core. It costs about $17 a month. But it has a server stack fine tuned to WordPress. I tested a pretty complex site on both.

    The $17 server delivered the site 10x faster in the front end and 5 times faster in the admin. It reduced a home page load from over 20 seconds to just a fraction over 2 seconds.

    It is all down to how fast data is retrieved, and where it is retrieved from. If it comes from SQL tables on SSD drives, that will never beat a cached SQL query held in RAM.

    To answer your specific question, which boils down to:

    ‘If I want to keep my current hosting and server setup, can I speed this up?’

    The answer is almost certainly no, or not a lot. Are the taxonomy terms split into many taxonomies, as that might help?

    Suyash Pratap
    #116417

    Yes, they are hierarchial…if thts what you mean by split.

    Trevor Moderator
    #116421

    If you have one (or more) taxonomies that contain many parent to child ‘groups’ they would almost certainly better as separate taxonomies.

    Trevor Moderator
    #116430

    Also, can you go to WP Admin -> Search & Filter -> Settings and enable the Transients setting and see if that makes a difference?

    It is a development setting, so may have a few bugs, but it was made exactly for this type of scenario, where no filtering has occurred. It is actually the most time consuming processes that generate the “count” numbers for each field.

    The intent is that the transients should store the unfiltered numbers temporarily for faster initial page loads, although the very first time the query is run it has to make the transients, so it is only after that that the speed improvements may be seen.

Viewing 7 posts - 1 through 7 (of 7 total)

The forum ‘Search & Filter Pro’ is closed to new topics and replies.