Scripts to exclude from Cache for loading pro editor

Hello,

When I enabled the following caching setting I realized that pro editor will not load.:

"Load Render-blocking JavaScript Files Asynchronously
Add async parameter to the JavaScript files loaded in the header section. "

There is an option to exclude scripts from this, of which the following for pro are available to exclude:
/themes/pro/cornerstone/assets/dist/js/site/cs-head.js

I chose to exclude, but the pro editor still does not load.

Any recommendations?

Thanks!

Hi @ayham,

Thank you for writing in, For PRO, try excluding these files.

wp-content/themes/pro/cornerstone/assets/dist-app/js/cs-vendor.js
wp-content/themes/pro/cornerstone/assets/dist-app/js/cs.js
wp-content/themes/pro/cornerstone/assets/dist/js/site/cs-head.js
wp-content/themes/pro/cornerstone/assets/dist/js/site/cs-body.js
wp-content/themes/pro/cornerstone/assets/dist/js/admin/huebert.js
wp-content/themes/pro/framework/dist/js/site/x.js

Remember to clear all caches (plugins, server-side, CDN, and browser’s cache) this will help you to avoid any potential errors.

Hope it helps,
Cheers!

1 Like

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.