|
|
||
|---|---|---|
| dependencies | ||
| report | ||
| test/server | ||
| .gitignore | ||
| .travis.yml | ||
| README.md | ||
| sitespeed.io | ||
README.md
Sitespeed.io - how speedy is your site? 
Under construction :)
Sitespeed.io is a tool that analyzes web sites and give you information of why they are slow and how you can optimize the web prformance. Today yslow rules are used in combination with other best practices.
What do sitespeed.io do?
You give sitespeed a start point, the first page on your site, where you want it to start crawl. By default, one level will be crawled, meaning all links (on the same domain as the main page), will be fetched & later analyzed.
The output is by default HTML. One summary page, that on high level will give you input about your speed of your site. You can also see all the individual pages and their assets.
The flow looks something like this:
More information: http://sitespeed.io
Install
- Install PhantomJs http://code.google.com/p/phantomjs/wiki/Installation
- Install Java 1.7
- Checkout this repository
git clone git@github.com:soulgalore/sitespeed.io.git
How to run
Run the script with a parameter that is the start page of where you want to test
./sitespeed.io http://github.com/
If you want to crawl deeper than one level, that is the next parameter.
./sitespeed.io http://github.com/ 2
If your site is behind basic auth, you can fetch it by
./sitespeed.io http://github.com/hidden/ 1 login password
Mad props
- Marcel Duran for Yslow https://github.com/marcelduran/yslow/ without it sitespeed would be nothing :)
- Ariya Hidayat for PhantomJS https://github.com/ariya/phantomjs
- Mark Otto & Jacob Thornton for Twitter Bootstrap https://github.com/twitter/bootstrap/