5. Requirements
● Do POST requests between http and https.
● Cross browser- IE6+, Chrome, FF.
● Fast, lightweight.
● Transfer megabytes of data easily.
12. Highlights
● Runtime switching of static servers by
config.
● Fallback to alternative CDN when traffic
spikes.
● High Latency, cost effective.
● Other CDN's geo-mapping screws up with
GooglePublicDNS/OpenDNS.
● Lessons learnt help us in tuning the overall
network stack.
14. Gotchas
1. Subset the font. Adjust x-height. use-
fontsquirrel.com
2. IE doesn’t render anything in the page until
the font file is done downloading if there is a
SCRIPT tag above the @font-face
declaration.
3. Chrome, FF download the font file only when
they encounter text using the font. The text
is hidden while the font is downloading.
16. OCSS in brief
● Separate structure and skin.
● Separate container and content.
● Results in highly reusable(but non-
semantic!) CSS classes.
● Selectors - CSS architecture.
● Against most CSS best practices.
23. CSS cleanup tool (Experimental)
● Runs on Nodejs.
● Fetchs pages, simulates a browser with
JSDom and Sizzle.
● Parses given CSS file(s).
● Tests for presence of selector in pages with
document.querySelector().
● Rewrites CSS file marking unused selectors
in comments.