Skip to content

Instantly share code, notes, and snippets.

@devbyray
Last active January 31, 2016 10:11
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save devbyray/fab9c0bfc14e3fdce4b9 to your computer and use it in GitHub Desktop.
Save devbyray/fab9c0bfc14e3fdce4b9 to your computer and use it in GitHub Desktop.
Strich.io Frontend Code review

Intro

For this Frontend Code review I did a check for Strich.io. The code can be checked here:

Development Architecture

  • Don't check-in the "node_modules", and "dist" folder. Add it to the .gitignore file. If people will use this repository, the must run Gulp by default, so it's gonna be overwritten. Instead check-in the package.json.

CSS

JavaScript

  • I would recommend you to concat all your JavaScript into 1 file. For example, modernizr can be included in your app.js.

SVG

  • It is very cool to see, how you use inline SVG for as much as you can!

Frontend Performance

  • I would recommend you to use a lazyload script for your images. Because now your images of the slider are slowing down the time your website needs to be completely loaded. I'm a big fan of bLazy.js http://dinbror.dk/blog/blazy/

  • If you want to spice up the Performance. Please consider to use a web safe font, or if you want to have a custom font. Go for a locally hosted web font with @fontface. I tested the difference on a client website, and it's a big difference for Performance.

Performance testing

In general, your website is performing quite good! But Google is suggesting some things to optimize further. And WebPageTest.org gives a super nice result!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment