Skip Navigation

[Resolved] What js script loads views? I want to tell WP Rocket to delay js execution.

This support ticket is created 2 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
- 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 1 reply, has 2 voices.

Last updated by Luo Yang 2 years, 10 months ago.

Assisted by: Luo Yang.

Author
Posts
#2068341
Screen Shot 2021-05-25 at 4.28.39 PM.png

I have many views on each page and it would help loading times a lot, if we can use WP Rocket's delay js execution. I just need to know what scripts to put in there to tell them not to load. Can you please help?

What are the JS scripts for views and forms?
hidden link

#2068571

You can follow our document to exclude some JS/CSS files from the "WP Rocket" plugin:
https://toolset.com/faq/how-to-use-optimization-plugins-with-toolset/

If you are using the latest version of Toolset Views plugin, you need to exclude one more file:
/wp-content/plugins/wp-views/vendor/toolset/common-es/public/toolset-common-es-frontend.js

This ticket is now closed. If you're a WPML client and need related help, please open a new support ticket.