- Joined
- Sep 3, 2014
- Messages
- 6,244
- Likes
- 13,130
- Degree
- 9
The other day, I went on a deeper page speed optimization on one of my Wordpress sites while I was already in digging. I got the wise idea to string replace any enqueued scripts in the header, so that all of those scripts loaded asynchronously.
It made sense at the time when I was tunnel visioned for speed.
It got rid of some render blocking scripts to make Google happy, then days later I realized I couldn't use the Text Editor and that the Word Count at the bottom was showing zero.
I just blew an hour trying to blame it on a plugin that was throwing a console error only to eventually realize that jquery.min.js was loading late, making it so the plugin and TinyMCE couldn't work right.
Back to my regularly scheduled program!
It made sense at the time when I was tunnel visioned for speed.
It got rid of some render blocking scripts to make Google happy, then days later I realized I couldn't use the Text Editor and that the Word Count at the bottom was showing zero.
I just blew an hour trying to blame it on a plugin that was throwing a console error only to eventually realize that jquery.min.js was loading late, making it so the plugin and TinyMCE couldn't work right.
Back to my regularly scheduled program!