Skip Navigation

[Resolved] Custom filters are working very slowly

This thread is resolved. Here is a description of the problem and solution.

Problem:

The issue here is that the user's search filters were running slowly.

Solution:

In this case it was he user's server. The server was running slowly so it caused our views plugin filters perform slowly. Once the user upgraded the server resources then the view filters were working normally again.

This support ticket is created 6 years, 8 months ago. There's a good chance that you are reading advice that it now obsolete.

This is the technical support forum for Toolset - a suite of plugins for developing WordPress sites without writing PHP.

Everyone can read this forum, but only Toolset clients can post in it. Toolset support works 6 days per week, 19 hours per day.

Sun Mon Tue Wed Thu Fri Sat
- 9:00 – 12:00 9:00 – 12:00 9:00 – 12:00 9:00 – 12:00 9:00 – 12:00 -
- 13:00 – 18:00 13:00 – 18:00 13:00 – 18:00 14:00 – 18:00 13:00 – 18:00 -

Supporter timezone: America/Jamaica (GMT-05:00)

This topic contains 7 replies, has 3 voices.

Last updated by alisonC 6 years, 8 months ago.

Assisted by: Shane.

Author
Posts
#687070

My custom search filters in Views are running, but VERY slowly. It appears to be the same recent issue described here:

https://toolset.com/forums/topic/slow-speed-of-ajax-filtering-for-views/

Some things I've tried that seem to have no effect:

* Enabling and disabling history management
* Removing masonry functionality
* Using a submit button w/ full page reload (this doesn't seem to work at all, which is interesting)
* Using default filter HTML/CSS

The site I'm working with is currently under password protection, so you won't be able to see the problem on the front end until I share the password with you privately. We also have no FTP on our servers, but I'm happy to provide you a temp admin account privately so that you can log in and see what's going on.

#688805

Hi,

Thanks for contacting support.
Yes, it will be great if you can provide access for us to check the site. I have enabled the private fields below for you to enter WP login access.

Thanks,
Ricardo

#697809

Shane
Supporter

Languages: English (English )

Timezone: America/Jamaica (GMT-05:00)

Hi Alison,

I'll be the one handling this ticket for you.

Would you mind if I took a duplicator package from your site to test this further and see what the issue is here ?

Thanks,
Shane

#697818

Hi Shane,

Go for it. Thanks!

#717926

Shane
Supporter

Languages: English (English )

Timezone: America/Jamaica (GMT-05:00)

Hi Alison,

Ok so I downloaded the duplicator and checked it. So the page filters load at the normal expected rate for me. I suspect that this is because the database is being queried and in the information is being provided much faster.

What I would do in this scenario is to ad some indication that the data is actually loading. This can be done by adding the spinner graphic to your view filter area to let customers know that the information is loading.

I suspect that this site is on a test server correct?

Please let me know.
Thanks,
Shane

#726863

Thanks for checking into this, Shane. Yes, this is a staging server. The production server we'll use will definitely be faster than our staging server, so hopefully this speeds up the results. Did you see anything about the way I have the view set up that could be improved to see faster speeds?

#729875

Shane
Supporter

Languages: English (English )

Timezone: America/Jamaica (GMT-05:00)

Hi Alison,

Actually no your view is setup fine. I'm not seeing any errors or misconfiguration.

Thanks,
Shane

#759507

Thanks Shane. For future reference, we just upgraded our dev server's specs, and the filters are much faster now.