As my current focus is on speeding up WordPress sites I have been reviewing certain plugins including Asset Clean-Up. The plugin author, Gabriel Livan, has a nice blog which lead me to an article of his on Toptal that has some pretty useful information regarding coding best practices. Most I have seen before, but this is pretty nicely bundled into one package. I am also reminded that code splitting in js comes in handy for site performance optimization. This is easily done with bundlers like Webpack and Parcel and allows you to dequeue unneeded scripts on a per page basis. Bundling can then be handled again using an optimization and caching plugin on a case by case basis.