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.
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/
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
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
Thanks Luo for your great support like always.