YSlow rule #13 – Remove Duplicate Scripts
It’s been 7 months since the last post in my YSlow series. So why did I stop blogging about performance optimization? Well, actually there are two answers to that question. First is because of my passion for unit-testing, which I started blogging about at pretty much that time. Secondly, I have to admit that I didn’t know what to write about. YSlow rule #13 – Remove Duplicate Scripts.
Pattern 1: Including scripts in both layout/master page and partial views
Pattern 2: Including both a minified and unminified version of a script
I’ve seen multiple websites doing something like this:
I’m working to catch this bug in my upcoming website validator HippoValidator.com.