Ravi Simhambhatla's latest project employing open source has been to juice up the web site for Virgin America, the US's newest carrier, so travelers can surf smoothly and purchase tickets without waiting for pages to build. Virgin America relies heavily on the power of virginameica.com, which pulls in 80 per cent of sales, with …
site tuning - the lost episodes
> "The visual perception of how quickly or slowly a page loads is more important than the technology behind it"
I sure as hell wish someone would tell that to the architecture astronauts around here. With a hammer.
They're all XML this and AJAX that, and dynamic pages with dozens of database queries each. So we've got these huge servers to host just the prototype, and hell to pay when it goes live and doesn't scale worth a damn.
I make sure to put all my predictions in writing, as "I told you so" is the sweetest phrase in IT.
So I ran yslow on this article and you flunked,
page 1 f (58) page 2 (56) in particular it failed to use a CDN, no expires header and too many HTTP requests, you could also stand to reduce DNS lookups. Neat tools.
Tuned for speed
But Mr Unpronounceable surname, if your site is so tuned for speed,
why do you have all names along the top as images rather than text ? even with compression, you wont get down to the size of text itself.
why think of Hibernate when it is far from the fastest persistence mechanism around ?
The Missing Link.... ? and ITs Master Pass Key.
"build your own content networks (which we don't do),.."
Who or what then does that Source for Virgin/Sir Richard?
The Last Mile ...... is a Quantum Leap into the Virtually Unknown Known.
"They're all XML this and AJAX that, and dynamic pages with dozens of database queries each. So we've got these huge servers to host just the prototype, and hell to pay when it goes live and doesn't scale worth a damn."
Presently all Show and no Go.... A Virtually Toothless Dog and of No Use to Man or Beast, AC.
ITs dDevelopment though is Work Well in Progress.
Congratulations to Virgin America, it must have been really hard to get an arbitrary A grade in a small piece of software that makes it's own (albeit normally correct), decisions on performance.
However whilst it's nice to see a mention about YSlow, perhaps Gavin Clarke might have wished to ask Ravi Simhambhatla about the > 200 validation errors ( http://validator.w3.org/check?verbose=1&uri=http%3A%2F%2Fwww.virginamerica.com%2Fva%2Fhome.do%3Fmethod%3DvirginAmerica ), in the front page source code and the accessibility problems that will come from the sites construction; or was this supposed to be as it read as a pure sycophantic PR piece and hope that no one looks to see the poor construction?
The comments at the top seem to be made in a hurry by someone who knows what they mean but I'm not sure that anyone else will. I believe it also contains a spelling mistake (existed = exited ?) and has poor (no) punctuation and grammar (have = has ?).
It doesn't matter what fancy development tools you use if you then let a pure techie loose to make tweaks to the final product and then don't have independent checks on the tweaks.
Not impressed in the slightest
This must be the most blatant piece of (unmarked) advertising ever. What's up, El Reg? Can my company please have an article as well about how we have a website and we're like totally amazing?
They want it to be fast with a good user perception, and they still put flash on the front page? Cretins.
What a crock...
They're all XML this and AJAX that, and dynamic pages with dozens of database queries each.
There is a time and a place for AJaX - the CMS, it's nice not having the page reload when you toggle the visibility on a product that's being displayed in the nested menu structure (i.e. in the same place it actually appears on the customer facing site).
Back on topic...
First glance at virginamerica.com - no DTD declaration, 11 included js script files (how many were there before?!), 7 iframes - a quick check with Tidy throws up 13 errors, 181 warnings (although they cascade); many unencoded ampersands and unescaped forward slashes (in the embedded js innerHTML) - even the </html> tag is missing! Cobbled together in MM Dreamweaver by a bunch of chimps that call themselves "Web Developers" no doubt... the page still took an eternity to load.
Just out of curiousity I loaded the page in Opera (with js, plug-ins and cookies disabled)... it died horribly; I'm not surprised.
If they really want to "optimise" their website they should consider firing everyone who's currently involved in it and start again. I get the suspicion that this article was posted on el Reg in a journalistic equivalent of "Duck Hunt" - they knew people would look at the source code of the virginamerica site; they knew the it would draw more flak than a day-flight of B17's over Dresden in 1944.
speed vs usability
lost count of the number of clients that insist that i throw all useability and accessability out of the window, so that a secondary navigation can retain the same font as the bloody designers have chosen
then for 6 months down the line find that i have spend half the day searching for the damn font, becasue the designer could only do a save as in photoshop, not an export, or they did it on there old laptop meh!!!
as far as AJAX goes its the new flash, excellent when used in the right places for the right reasons, but idiocy to build an entire site out of it
SPEED HUH, FUNCTION NO
Well speed maybe, but thats worth nothing if you give up because the function is broken. I tried booking a flight from NYC to SF, it ended up going via LAX(OK maybe) when I tried to proceed past the select flights menu, I was presented with Select seats.
At select seats I was "lucky" enough to get an exit row, only to be told that exit rows cost $15 extra, a pop-up opened that started "Congrats. You just got one of the most coveted spots on the plane. But because you are now in the exit row, your seat comes with extra responsibility" it had two choices yes and no... for $15 you could select yes and continue... but no wasn't active under Firefox 188.8.131.52 and given the original flights were not that cheap, they went via LAX, and there "super-fast(ahem)" website was forcing me to pay $15 for a single exit row seat, I bailed and canceled.
- Xmas Round-up Ten top tech toys to interface with a techie’s Christmas stocking
- Google embiggens its fat vid pipe Chromecast with TEN new supported apps
- NSFW Oz couple get jiggy in pharmacy in 'banned' condom ad
- Exploits no more! Firefox 26 blocks all Java plugins by default
- Review Hey Linux newbie: If you've never had a taste, try perfect Petra ... mmm, smells like Mint 16