Book Image

Bootstrap Site Blueprints

Book Image

Bootstrap Site Blueprints

Overview of this book

Table of Contents (16 chapters)
Bootstrap Site Blueprints
Credits
About the Authors
About the Reviewers
www.PacktPub.com
Preface
Index

Recommended next steps


Let me strongly recommend at least one additional next step you'll need to take before taking a project like this to production. It's imperative that you take time to optimize your images, CSS, and JavaScript. These steps are not difficult.

  • Compressing images takes just a bit of time, and it addresses the single largest cause for large page footprints. I've already used the save to web process option of Photoshop, but chances are you can squeeze a few more bytes out.

  • In addition, we badly need to remove unneeded Bootstrap LESS files from the import sequence in __main.less, and then compress the resulting main.css file.

  • Finally, we need to slim down our plugins.js file by replacing Bootstrap's all-inclusive bootstrap.min.js file with compressed versions of only the three plugins that we're actually using: carousel.js, collapse.js, and transitions.js. We then compress the final plugins.js file.

Combined, these steps can cut the footprint of this website by roughly half....