WP Rocket's one-click-exclusion for Pro theme "Delay JavaScript execution" may be outdated - help please

Hi,

I am using Pro (and X) and WP Rocket for many years now and I am well aware of problems between WP Rocket’s Delay JavaScript execution feature and burger menus and accordions from Pro (and X). Some time ago WP Rocket build a one-click-exclusion-feature solution for popular third party themes and plugins to help users easily fix this problems by auto excluding the neccessary JS-files. So did they with your Pro theme. The one-click-exclusion is called “Pro Theme - Fix menu and accordions”.

It worked for some time but now I am getting problems with accordions on many of my clients installations even with the one-click-exclusion active. Only safe way is to completly disable Delay JavaScript execution. So I do think that something’s may have changed on Themeco’s side.

So I talked to WP Rocket to get to know what the one-click-exclusion does to pass is over to you for you to may check and maybe you say “ah yes, one file changed, you may have to exclude this and that” :slight_smile: so here we go, it’s currently excluding these:

/jquery(-migrate)?-?([0-9.]+)?(.min|.slim|.slim.min)?.js(?(.*))?( |'|"|>)
/pro/cornerstone/assets/js/site/cs-classic.(.*).js 

Would be great if we can figure it out together. I would pass the information back to WP Rocket for them to update their exclusion list. Thank you!