How can I speed up the document library?
By default, Document Library Pro loads ALL the items in the table when it first loads - not just those on the first page. This can cause performance issues and slow page load times if the table contains a large number of items, or if you have multiple tables on a single page.
Lazy load option
You can use the lazy load option to speed up your tables. This will load 1 page of results at a time, which significantly reduces the server load.
Lazy load also allows the rest of the page page to load before the table starts loading, so users will start seeing content more quickly.
Other tips for improving performance
If activating lazy load doesn't improve the performance and page load times, we recommend the following:
- Reduce the number of rows per page (this will only help if you're using lazy load).
- Reduce the amount of data displayed in your table, particularly images or embedded audio/video. Reducing the number of columns can also help.
- Read our tips on how to make sure your site isn't loading bigger images than necessary in the
- Test the page load time with and without the table plugin active. (Pingdom is our favourite speed testing tool because it tells you the actual page load time from different servers around the world.) This will help to establish whether the performance issues are caused by the table plugin or something else.
- If the Pingdom speed test is showing a high 'time to first byte' (i.e. the amount of time your website is taking to connect before the page starts to load), it's worth switching to a better host. We use Kinsta which offers fully optimised WordPress hosting that is built for performance. It comes with built-in features such as caching to speed up your site.