sitespeedio/yslow — pull request #2 by dorajistyle (2014-02-07 15:54:49+00:00)
Title: Lazy rendering for RESTful web application

I finally figured out the problem that yslow/phantomjs is not waiting for all requests in RESTful Web Application.

Inspired by https://gist.github.com/cjoudrey/1341747

We can test a RESTful Web Application with phantomjs now!

I compiled two compiled js file named yslow_not_modified.js and yslow_restful.js.

yslow_not_modified.js is not modified in any logic, but just put logger to catch requests.

yslow_restful.js is modified to handle RESTful web Application with logger to catch requests.

You can download these two files in my folked yslow repository/build/phantomjs.

I remove loggers from actual code.

Cheers,

Happy weekends!

Joongseob Vito Kim