Defer javascript loading adding # to .js url
-
The defer/async setting doesn’t seem to work nicely with wordpress builtin enque script version cachebusting. I am using a simple filemtime timestamp.
With defered loading off I am getting the correct path
src=”/path/to/script.js?ver=1571824457″With defer on I get:
src=”/path/to/script.js?#038;ver=1571824457″The script still works but cache busting does not.
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
The topic ‘Defer javascript loading adding # to .js url’ is closed to new replies.