Mads Storm Hansen
Mads Storm Hansen
A maximum _number_ of resources per bundle would not be too hard to implement. That would require some case-by-case configuration tuning.
When resources are loaded, we could populate a dictionary of (original-url, original-size). This would be used as feedback into the transformer for adjusting the size of the bundles on the...
Perhaps a better (simpler) way for CSS, would be to keep it all inside the CssReducer, and make it "@import" a flexible number of child-stylesheets, like it is referring a...
I just tested the "@import" in IE7, and it accepts my 400 kb CSS, if I split it into two smaller CSS-files, and @import one into the other.
I found a nice little way of handling async/defer. It needs some RegEx and tests, but the skeleton is there, and the test is green. https://github.com/madsstorm/RequestReduce/commit/71e1b6d9f1440ad716c5b6d5203ebde918b4ba60
Hi Matt, That's some really cool visions you have for RequestReduce and definitely goes beyond my little bundle "hack". Supporting async and defer for browser that dont do natively, would...
Perhaps the async-load-snippet could be placed at the position of the last async script (not at < / b o d y>), to start the parallel download as soon as...
This is going pretty well. The bundled async and defer scripts are inserted just before body-close now. Its up and running on my own site. Im collecting the scripts and...
I found a very handy "TagRegex" inside ASP.NET that does all the attribute parsing for me. So I guess I'm done :-)
I ended up having more coupling between the filter and the transformer, than I really like. The filter shouldnt really know anything about what the transformer is doing. To get...