Coder Social home page Coder Social logo

davgit / whichloadsfaster Goto Github PK

View Code? Open in Web Editor NEW

This project forked from ryanwitt/whichloadsfaster

0.0 0.0 0.0 366 KB

Pages compete head-to-head in your browser to see who's the fastest.

Home Page: http://whichloadsfaster.com/

License: Other

whichloadsfaster's Introduction

Which loads faster? (developer's corner)

Users don't care about testing methodology. 
They just want to know which loads faster.
So put the pages next to each other, and let them duke it out.

Ok, and we'll send them to more in-depth tools as well. :)

Blog post explaining some of this madness.

Hacking

Everything is client-side, and you can hack and test right from your local filesystem. Just open the static directory and have at it.

Source Graphics

Were done in OmniGraffle.

Deploying

So, I'm not made of money for spare bandwidth and you probably aren't either, so let's make everything with a far-future expires header and auto-version all our static content. We'll do this by appending the SHA1 hash of each file's contents to its filename so that whenever it changes, the user will be directed to get the new resource.

There's an example configuration for apache in static/.htaccess that does the far-future expires.

There is a Makefile to build and static-ify the site. It requires:

  • openssl (for generating file hashes)
  • google's closure compiler (for compiling and minifying javascript)
  • yui compressor (for minifying css)
  • htmltidy (for minifying html)
  • markdown (for generating documentation)

Contact

There's a mailing list, which I expect could end up being more user-oriented. I'll create a dev list if necessary.

You can reach me at [email protected].

whichloadsfaster's People

Contributors

ryanwitt avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.