Hi Team,
Page load time of my site is more and would need to optimise it.
In order to optimize using WP ROCKET plugin, please let me know whether there are any settings needed.
Is there any file that needs excluded from optimising.
Please suggest me.
Thanks.
Hello, the most recent version of Toolset plugins includes several optimization updates that consolidate assets required by Toolset plugins. Please be sure you are using the latest versions of all Toolset plugins. If you have not been prompted to update recently, go to Plugins > Add new, then click the Commercial tab. Scroll down to the Toolset Installer and click "Check for updates" to get the latest plugin versions installed automatically.
Once you have updated, we recommend you exclude optimization of scripts from the cred-frontend-editor plugin directory if your site uses Toolset Forms:
/wp-content/plugins/cred-frontend-editor/*.*
Beyond that, if the site is taking a long time to load, we can use a plugin like Query Monitor to analyze the queries used to produce the page and see if any individual query from Toolset is running over 0.05 seconds, which is our standard for query speed.
Hi, Thanks for updating me.
Could you please elaborate the below paragraph?
Once you have updated, we recommend you exclude optimization of scripts from the cred-frontend-editor plugin directory if your site uses Toolset Forms: /wp-content/plugins/cred-frontend-editor/*.*
Yes, I'm using toolset forms and this is most important for me in my site.
I will update to Toolset 1.5 and see in case if I still want to install WP Rocket.
In case if I want to still use WP Rocket, are you saying that I would need to exclude few files?
If yes, please let me know on how do I need to do it...
Thanks.
In case if I want to still use WP Rocket, are you saying that I would need to exclude few files?
Yes, that is correct. If the Toolset Forms plugin is active on your site, you should exclude its JavaScript files from WP Rocket's optimization, minification, and concatenation processes. In other words, you should exclude all files that end with .js that exist inside the Toolset Forms plugin directory and its subdirectories. The Toolset Forms plugin directory is located here: hidden link
You should exclude all .js files loaded from the Forms plugin directory and any of its subdirectories. I found these WP Rocket articles with information about excluding 3rd-party JavaScript files from minification/concatenation/optimization:
https://docs.wp-rocket.me/article/1351-javascript-minify-combine
https://docs.wp-rocket.me/article/39-excluding-external-js-from-concatenation
If you need help determining the best syntax for wildcards, etc., I suggest you ask the WP Rocket support team for help since I am not really an expert in their software.
Let me know if you need any additional information from me to facilitate a discussion with the WP Rocket support team. I'll be glad to give you any specific information you need.
Hi, Thanks for the update.
If the use the below, it should be file I believe. Please let me know if this correct.
/wp-content/plugins/cred-frontend-editor/(.*).js
Also, is there any URL should I need to exclude like Log-In and Log-Out pages.
Thanks.
If the use the below, it should be file I believe. Please let me know if this correct.
/wp-content/plugins/cred-frontend-editor/(.*).js
The directory looks accurate for the Forms plugin. If you have questions about the (*.).js syntax, as I was saying, you should submit those questions to the WP Rocket support team since the wildcard syntax is specific for their plugin. I do not have information about the syntax required to exclude specific files or to use wildcards in a generic way.
Also, is there any URL should I need to exclude like Log-In and Log-Out pages.
I'm not aware that you need to do anything special on log-in or log-out URLs. The default WordPress login and logout URLs include /wp-admin and /wp-login.php, so if you have any problems you might ask the WP Rocket team for assistance excluding those URLs from caching. If you create your own custom login pages as shown in https://toolset.com/course-lesson/creating-custom-login-forms/, you could have custom login URLs as well, so you might ask for help excluding those custom login page URLs, but I don't think anything special is needed here unless you experience unexpected problems with logins.
My issue is resolved now. Thank you!