DOMContentLoaded
is missing when Rocket-Loader
is enabled.
We’ve searched the Internet and found a detailed analysis, explaining the situation when both HTML Auto Minify and Rocket Loader enabled.
Solution to Missing DOMContentLoaded
Event when Enabling both HTML Auto Minify and Rocket Loader in Cloudflare
dev.to/hollowman6/solution-to-missing-domcontentloaded-event-when-enabling-both-html-auto-minify-and-rocket-loader-in-Cloudflare-5ch8 by @HollowMan6
And, due to our users’ feedback, even only Rocket Loader is enabled, the DOMContentLoaded
is missing.
Candinya/Kratos-Rebirth#135 in Chinese
github.com/Candinya/Kratos-Rebirth/issues/135
I’m curious about this behavior. Is it intentional? Are there any suggestions on writing scripts?