Find file name for Cornerstone Page JS

I am optimizing our Pro-based site with WP Rocket and am trying to use the Delay Javascript execution option, however this appears to break some of our custom javascript in the Page JS editor inside of Cornerstone. I tried to find the name of the .js file containing our custom javascript so that I might exclude it from being delayed but I am unable to find it. Could you help point me in the direction of this file name/location so I can try excluding it in WP Rocket? Also, do you have any other general recommendations for Pro working well with the Delay Javascript execution option within WP Rocket?

Thank you!

Hi @Hyperbits,

Thanks for reaching out.
The Page JS does not add the code into any JavaScript file. It added the code into the Header of the specific Page through the predefined Hooks while loading the page.

Thanks

Hello @tristup,

Thank you for your assistance. Is there any way of pointing to this javascript by URL or keyword so that I might exclude it from being delayed? I have consulted with WPRocket as well but figured I would check with you as well since targeting this code might be specific to how Pro is configured.

Thank you

Hi @Hyperbits,

Right now we don’t have any way for that. But I will discuss with our development team and check if is there any solution available for this.

Thanks

Thank you @tristup, let me know if you find a solution.

Hi @Hyperbits,

Sure.

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