Skip Navigation

[Resolved] Views Plugin is slowing down my website hardly!

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

Problem:

I have noticed since this week that my site became too slow for both admin area and frontend loading time was between 4-6 and now its at least 9-13 and sometime its stop loading and then continue after couple of second. very weird behaviour.

Solution:

The issue was caused by a syntax error, see details here:

https://toolset.com/forums/topic/views-plugin-is-slowing-down-my-website-hardly/#post-1136833

Relevant Documentation:

This support ticket is created 6 years, 1 month 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.

Our next available supporter will start replying to tickets in about 0.06 hours from now. Thank you for your understanding.

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)

This topic contains 4 replies, has 2 voices.

Last updated by Nashaat 6 years ago.

Assisted by: Luo Yang.

Author
Posts
#1134513
Toolset-plugins.png

Hi, I have noticed since this week that my site became too slow for both admin area and frontend loading time was between 4-6 and now its at least 9-13 and sometime its stop loading and then continue after couple of second. very weird behaviour.

so after playing around with deactivating and activating plugins. i can confirm that Toolset Views Plugin is causing this issue. after deactivating the plugin the site began to load like before and bit better. For now i am going to activate it again maybe you can find out whats going on this is the link hidden link

please see attached image to see which plugins i am using. I think this issue followed after i updated to the latest version of Views. before that the website running nomraly without any issue.

#1134868
load-time.JPG

Hello,

I have tried the URL you mentioned above in my Chrome browser, the total load time is 5 seconds, and the page load time is 4 seconds.
see screenshot load-time.JPG

I suggest you check these:
1) In the that URL, there is a view search form ( ID 8649 ), it seems that you are using AJAX search feature, please edit it,
in section "Custom Search Settings", enable option "Let me choose individual settings manually". choose option "Always show all values for inputs" , and test again

The option "Show only available options for each input" might conduct unexpected performance problem.

2) In section "Query Options", disable option "Don't include current page in query result",
Views cache feature will be disabled when it is enabled.

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

#1136833

Thanks Luo. I have tried you suggestion and it helps a bit, but actually this wasn't the main Issue!

the issue was caused by a syntax error. i used following buttons that include Tooltip and the quote marks are not rendering well. this was in many views like this so thats why the slow site. after i deleted all CSS classes in Tooltip then everything went back to normal.

following code is causing the issue:

<a class="btn btn-warning btn-sm rounded-circle mx-1" href="[wpv-post-url]" role="button" target="_blank" data-toggle="tooltip" data-placement="top" data-html="true" title='<p class="h5 m-0">View Post</p>'><i class="fas fa-eye"></i></a>

following code is ok:

<a class="btn btn-warning btn-sm rounded-circle mx-1" href="[wpv-post-url]" role="button" target="_blank" data-toggle="tooltip" data-placement="top" data-html="true" title="View Post"><i class="fas fa-eye"></a>

if you have any suggestion how to use html and css in the Tooltip i will be happy.
Thanks a lot

#1137368

Thanks for share the solution, and you are right, it is not recommended to add HTML tags into title attribute, as a workaround, you can try the jquery UI: tooltip, see the live demo here:
hidden link

#1138310

Thanks Luo for your great support like always.