Skip Navigation

[Resolved] Low loading view

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
- 10:00 – 13:00 10:00 – 13:00 10:00 – 13:00 10:00 – 13:00 10:00 – 13:00 -
- 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 -

Supporter timezone: Asia/Kolkata (GMT+05:30)

This topic contains 1 reply, has 2 voices.

Last updated by Minesh 1 year, 5 months ago.

Assisted by: Minesh.

Author
Posts
#2688161

Hey guys,

I have a view on hidden link

It queries 55,000 results, which makes the page load incredibly slow. We're using the number of views, stored as a custom field, to sort the list by popularity. But this calculation seems to happen every time the page is loaded, which cancels the cache and makes the whole experience incredibly slow.

Do you have any ideas/experience of how I can cache the results of the filters for say a week? Irrespective of if the data about the views changes. Or experience in handling such huge amounts of data.

Thank you in advance,
Kyle

#2688358

Minesh
Supporter

Languages: English (English )

Timezone: Asia/Kolkata (GMT+05:30)

Hello. Thank you for contacting the Toolset support.

Are you loading all 55000 results at a time? If yes, then you should add pagination:
- https://toolset.com/documentation/legacy-features/views-plugin/views-pagination/

Here is the Doc that you should try to follow that offers some tips related to cache that might help you as well:
- https://toolset.com/documentation/legacy-features/views-plugin/how-to-use-views-parametric-search-on-large-sites/