Most of the stuff I'm talking about is the default. There are a million and one tools to handle this stuff for you...there's a couple switches to flip in your server config, etc. It's not like you have to go out of the way to do these things, you almost have to go out of the way not to.
I mean, this is a pretty simple page...and it has a loading screen that takes a couple seconds? Maybe implementing some of these best practices could take care of that.
Little effort, good payoff.
>I also find it to be very inelegant.
HTTP requests cost. Putting the images together and then selecting them with CSS is a very elegant solution to that problem IMHO. It's also very simple to do.
You're entitled to your opinion of course.
Anyway, if you want to impress a prospective employer, I think it's a good idea to try and impress instead of just doing the absolute minimum. (not saying that Loren didn't impress or slacked off..this thing is beautiful looking and well written, but I mean hypothetically if I was doing something like this I'd want to know I did the best possible job for the effort spent)
Sure, the lasers and shark-pit might be overkill for any normal home's security needs, but if they're being used as evidence of talent in the field where you're looking for work, their purpose isn't to be practical for your everyday needs, but to demonstrate applicable skills.
I'd recommend exactly the same things M1573RMU74710N did. If you want performant web site you should minimize the number of HTTP requests (hence concatenating .js and .css files, using image sprites and setting expires and cache-control headers to avoid 304 Not Modified), make sure that resources don't block while loading (hence move JS to the bottom), make sure resources are small (hence image optimization and gzipping).
This should not be "best-practices" these should be "that's-how-things-are-done". And the guy's page is an application for the front-end engineer positions — if I were him I'd make sure that my application page shows my best skills.
Best practices is one thing. Overkill is another.