Skip Navigation

[Resolved] View is very slow on loading

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

Problem:
My View is very very slow on loading.
It has a few images in it only.

Solution:
The issue for this load time is usually due to Custom Image Sizes loaded in the View on the fly.

For example the ShortCode "[wpv-post-featured-image size="custom" width="400" height="283" crop="true"]".

Replace that ShortCode using the "Fields and Views" button and do not use a Custom Size.
Instead, use a predefined Size.

Then the problem will be gone.

If you miss some sizes apart of the default one, you can register a new Custom Size in your theme.

After you do that, all images that you upload to WordPress will have as well this new custom size.
That can then be picked to use with the ShortCode of the Featured Image or other images as well.

To update old existing images to use the new size as well, you can use plugins like this:
https://de.wordpress.org/plugins/regenerate-thumbnails/

Relevant Documentation:
https://developer.wordpress.org/reference/functions/add_image_size/

This support ticket is created 6 years, 10 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
- - 14:00 – 20:00 14:00 – 20:00 14:00 – 20:00 14:00 – 20:00 14:00 – 20:00
- - - - - - -

Supporter timezone: Asia/Ho_Chi_Minh (GMT+07:00)

This topic contains 16 replies, has 3 voices.

Last updated by Beda 6 years, 9 months ago.

Assisted by: Beda.

Author
Posts
#612140

"If you change your above ShortCode to use a predefined size, 90% of the load time will be gone.
Or, you can register a new image size within your Theme so on upload, of new images, or regenerating the Thumbnails, those custom sizes do exist and hence will not force Views to generate them on the fly.

Each image displayed with custom size, may slow down your site by at least one second when this image should be displayed.
I recommend to not use Custom Sizes with this setup - instead use predefined sizes.

This will resolve the performance issue due to Toolset"

*can you please explain me need to do?

#612153

Yes, sure.

The issue for this load time is the ShortCode "[wpv-post-featured-image size="custom" width="400" height="283" crop="true"]".

Replace that ShortCode using the "Fields and Views" button, and do not use a Custom Size.
Instead, use a predefined Size.

Then the problem will be gone.

If you miss some extra sizes apart of the default one, you can register a new Custom Size in your theme:
https://developer.wordpress.org/reference/functions/add_image_size/

After you do that, all images that you upload to WordPress will have as well this new custom size.
That can then be picked to use with the ShortCode of the Featured Image as well.

To update old existing images to use the new size as well, you can use plugins like this:
hidden link