Hello, Any feedback on that ? Unless there is a NO GO , I will commit it tonight.
Regards On Sun, Feb 21, 2016 at 10:05 PM, Philippe Mouawad < [email protected]> wrote: > Hello, > Today Embedded resources parsing only downloads resources mentioned in HTML > not the ones referenced from included CSS. > Handling the ones included dynamically through Javascript is out of scope. > > > In order to make parallel download more realistic we should add parsing of > CSS files. > > For example, if you try parallel download with Tomcat 8 Homepage: > - JMeter will download: > *http://localhost:8080/tomcat.png > *http://localhost:8080/tomcat.css > > - Browser will add to those 5 coming from parsing of tomcat.css: > *http://localhost:8080/bg-nav.png > *http://localhost:8080/asf-logo.png > *http://localhost:8080/bg-upper.png > *http://localhost:8080/bg-button.png > *http://localhost:8080/bg-middle.png > > > This should not be very complex, AFAICT we need to handle: > > - background(-image) url > - @import url > > > I have created: > https://bz.apache.org/bugzilla/show_bug.cgi?id=59033 > > And uploaded a first patch to rearchitecture a bit current HTMLParser > related classes and allow plugin of a CSS Parser. > > > If you're ok with it I will commit it to trunk. > Regards > Philippe M. > > > -- Cordialement. Philippe Mouawad.
