Using the HTML5 Build Script with a WordPress Theme – Part 1 of 2

Posted on

The idea of the HTML5 Boilerplate is to provide a starting point for future-proof web design. From putting javascript at the bottom of the page to using Modernizr, this is a collection of best practices from some notable people in the web industry and we really need to be aware of these basic fundamentals.

However, basic Boilerplate aside my next two videos will specifically focus on the ‘Build Script’, a feature fully realised in version 1.0 of HTML5 Boilerplate. The idea of the Build Script is to always serve your code compressed, and always get visitors to cache unchanged code. Achieving this will significantly increase the load speed of your website and in future you’ll be forever turning your nose up at other people’s YSlow score.

In this video we’ll go through…

  1. Downloading and using the HTML5 Boilerplate Build Script
  2. Using Terminal to run the script

10 thoughts on “Using the HTML5 Build Script with a WordPress Theme – Part 1 of 2”

  1. Amusing and informative! Off to part 2 now.

  2. Anonymous says:

    Great video! Quick tip, if you’re starting a new project, instead of copying and pasting the files and then worrying about hidden files (which is a pain if you don’t have something as handy as TotalFinder) you can run the script in the build folder to generate a new project.

    1. Anonymous says:

      Thanks for your tip Jeff!

    2. Anonymous says:

      Thanks for your tip Jeff!

  3. Gumballmachine says:

    Please provide some written instructions to compliment your video tutorial.

  4. Chris B. says:

    Not Stella! Haha, lol’d at that. Great tutorial man.

    1. Anonymous says:

      Hey Chris, glad you enjoyed. Please let me know if there’s anything else specific you’d like to see :-).

      Cheers, Jay

  5. Thanks for the quality content. However, some written instructions/notes would be much preferred over the videos, so I can skip through to the relevant bits. Thanks!

  6. Chris says:

    Quick root to your local user are is:

    cd ~/location/of/boilerplate/build

  7. aendrew says:

    Should be noted that more recent version of H5bp don’t come with a build script.

Leave a Reply

Your email address will not be published. Required fields are marked *