• Breeze combines some but not all (?) inline JS, which could be an issue when that is localization that might change page-to-page or other reasons.

    For example, Google Analytics code by a plugin in wp_head is not minified or put into an external file, but the NewRelic integration code is, as well as…

    One place this is definitely an issue is where I have <script>document.documentElement.className = 'js';</script> in <head>, which is used in my CSS. Breeze moves this into the combined file at the very end, causing some visual display problems.

    I’m not sure how being moved external affects the NewRelic code, which CloudWays inserts immediately after meta charset.

Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)

The topic ‘Issue with inline JS’ is closed to new replies.