Can i make filters fasteer?

  • Posts: 54
  • Thank you received: 7
2 years 2 months ago #339056

-- Joomla version -- : 3.10.4
-- PHP version -- : 7.4.26

Hi,

I think the filters work a bit slow for the amount of products i have in my store. I dont know what casues this but i though it might be a delay timer in the RefreshFilters function? Anyway, is there a way to make my filters work instantly, or atleast a bit faster?

Thanks.

Please Log in or Create an account to join the conversation.

  • Posts: 81504
  • Thank you received: 13064
  • MODERATOR
2 years 2 months ago #339057

Hi,

Well, it depends on many things.
It depends on the time it takes for a HTTP request to be sent from your browser to your server, and come back with the answer, the time it takes to apply the filter on the products listing (so the amount of products but also the complexity of the filters you're using can play a role).
The javascript code indeed does have a small delay for some things.
For example, if you have a text input filter for the search with the auto submit activated, it will refresh the results while you're typing.
However, there is a delay so that it doesn't do the search each time to type a character and wait that you're not typing another one before launching the search.

Now I can't say much more as I don't know the details of your situation. If you could provide a link to the page and instructions to reproduce the situation where you feel it is slow, I could look into it to tell you where I think the delay comes from and if something can be done.

Please Log in or Create an account to join the conversation.

Time to create page: 0.051 seconds
Powered by Kunena Forum