Skip Navigation

[Resuelto] Loading time too long, reduce items in search

Este hilo está resuelto. Aquí tiene una descripción del problema y la solución.

Problem:

How can I maximize the items per page, how do I get a pagination within the startpage, so not everybody has to wait for all the items.

Solution:

There is built-in pagination feature within Views plugin, in your case, you can also enable the AJAX pagination settings, see screenshot:
https://cdn.toolset.com/wp-content/uploads/2012/07/pagination-options-3.png?x56814

This should be able to reduce the requests

Relevant Documentation:

https://toolset.com/documentation/beyond-the-basics/paginate-lists-of-content/

https://toolset.com/documentation/user-guides/views-pagination/

This support ticket is created hace 6 años. 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.

Hoy no hay técnicos de soporte disponibles en el foro Juego de herramientas. Siéntase libre de enviar sus tiques y les daremos trámite tan pronto como estemos disponibles en línea. Gracias por su comprensión.

Sun Mon Tue Wed Thu Fri Sat
- 9:00 – 13:00 9:00 – 13:00 9:00 – 13:00 9:00 – 13:00 9: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/Hong_Kong (GMT+08:00)

Este tema contiene 6 respuestas, tiene 2 mensajes.

Última actualización por Luo Yang hace 6 años.

Asistido por: Luo Yang.

Autor
Mensajes
#1148504

Tell us what you are trying to do?

Hi, how I was guessing in the very beginning is now a reality. If you go to enlace oculto you have to wait until 40 seconds until the page is loaded! The biggest problem is that the page delivers 229 request and 4447 DOM knots, most of it are the 215 pictures of the 215 skis that are shown.

To reduce the loading time the most simpe way would be to show a maximum of 12-20 skis.
How can I limit the items shown of the custom search page. Right at the moment all items are shown!

Is there any documentation that you are following?

Is there a similar example that we can see?

What is the link to your site?
enlace oculto

#1149021

Hi,

I have tried the URL you mentioned above, there isn't similar problem as you mentioned above:
you have to wait until 40 seconds until the page is loaded

The HTML codes loads in 3 seconds, see screenshot: load-time2.JPG

And there is a document about "How to Use Views Custom Search on Large Sites"
https://toolset.com/documentation/user-guides/front-page-filters/how-to-use-views-parametric-search-on-large-sites/

For your reference.

#1149225

Hi

Thank you for your good will.
The loading time was just an explanation to get a solution.
My question actually was how can I maximize the items per page, how do I get a pagination within the startpage, so not everybody has to wait for all the items. As I sad Google complains about to many DOM knots, etc.
I want to limit the items to be shown and also the result of the search must have a page of maxium 20 items and then the other results appear on different pages. How can I fix that?

#1149679

There is built-in pagination feature within Views plugin, see our document:
https://toolset.com/documentation/beyond-the-basics/paginate-lists-of-content/
https://toolset.com/documentation/user-guides/views-pagination/

In your case, you can also enable the AJAX pagination settings, see screenshot:
enlace oculto

This should be able to reduce the requests

#1149766
Toolset-Pagination-no-pages.jpg

Thank you very much that worked, but the next problems seems to appear: There are no pages to appear!
I choose now 32 items of the 215 items, that causes now 8 lines, but the visitor cannot change the pages!

#1149771

Please check these:
1) You are following our document to setup the pagination links:
https://toolset.com/documentation/beyond-the-basics/paginate-lists-of-content/#pagination-controls

2) If the problem still persists, you can provide a test site with the same problem, also point out the problem page URL and view URL, I can setup a demo for you

#1150176

You are welcome