Skip Navigation

[Resolved] Toolset assets loaded on home page where no Toolset features are used.

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

Problem:

The announcement for the Beta says that frontend optimization has been done, so I expect to see Toolset assets only loaded on pages where Toolset features are being used.

Solution:

According to our blog post:
https://toolset.com/2021/04/toolset-blocks-1-5-beta-test-the-upcoming-woocommerce-features/

This optimization is already present in this beta and keeps Toolset’s impact on your site’s speed to a bare minimum.

Those two JS/CSS files you mentioned above are minimal requirement files for Toolset Blocks plugin.

Relevant Documentation:

This support ticket is created 3 years, 8 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 2 replies, has 2 voices.

Last updated by davidM-17 3 years, 8 months ago.

Assisted by: Luo Yang.

Author
Posts
#2013521

As requested, I am testing the new Toolset Blocks Beta. I installed and activated Toolset Blocks 1.5 Beta 2 and Toolset Types 3.4.8-b1. I went to the home page which is using the theme's layout and see that Toolset is loading:

-views-frontend.css
-toolset-common-es-frontend.js

No Toolset Views, Content Templates, Custom Post Types, etc have been defined.

The announcement for the Beta says that frontend optimization has been done, so I expect to see Toolset assets only loaded on pages where Toolset features are being used.

#2014389

Hello,

According to our blog post:
https://toolset.com/2021/04/toolset-blocks-1-5-beta-test-the-upcoming-woocommerce-features/

This optimization is already present in this beta and keeps Toolset’s impact on your site’s speed to a bare minimum.

Those two JS/CSS files you mentioned above are minimal requirement files for Toolset Blocks plugin, so it is expected result to see those two files to be loaded in the page which "No Toolset Views, Content Templates, Custom Post Types, etc have been defined."

#2017139

My issue is resolved now. Thank you!