You are previewing Instant PageSpeed Optimization.
O'Reilly logo
Instant PageSpeed Optimization

Book Description

Optimize your website to make it faster by enhancing its speed, traffic, and bandwidth using practical and hands-on recipes

  • Learn something new in an Instant! A short, fast, focused guide delivering immediate results

  • Optimize website using HTML standard protocols

  • Enhance user response by minimizing HTTP requests

  • Optimize images using CSS sprites and minify scripts

In Detail

PageSpeed is an important aspect of web design and site management. It is a Google measure of how well the site performs to technical measurements. PageSpeed can be measured using Google’s own tool or a browser plugin. It is used to score sites in indices, and is important from a UI view as it forms a large part of the success of your site.

Instant PageSpeed Optimization is a practical, hands-on guide that provides you with a number of clear, step-by-step exercises, which will help you to take advantage of the real power that is behind web optimization techniques, and give you a good grounding in using it in your websites.

The book explores topics like HTML standards used for optimization, minifying scripts, and taking care of images, and solves the common errors that users do unknowingly. It will take you through a number of clear, practical recipes that will help you to take advantage of all the possible technologies to make your websitess efficient, fast, and accurate. You will not only learn basic standards to optimize your websites, but you will also learn some advanced level methods such as Apache handling, Flush methods, making AJAX cacheable, setting up browser caches, and reducing image size using CSS sprites

If you want to take advantage of all the necessary methods to make your website faster and efficient, then this book is a must-have.

Table of Contents

  1. Instant PageSpeed Optimization
    1. Instant PageSpeed Optimization
    2. Credits
    3. About the Author
    4. About the Reviewer
    5. www.PacktPub.com
      1. Support files, eBooks, discount offers and more
        1. Why Subscribe?
        2. Free Access for Packt account holders
    6. Preface
      1. What this book covers
      2. What you need for this book
      3. Who this book is for
      4. Conventions
      5. Reader feedback
      6. Customer support
        1. Downloading the example code
        2. Errata
        3. Piracy
        4. Questions
    7. 1. Instant PageSpeed Optimization
      1. Minimizing HTTP requests (Simple)
        1. How to do it...
        2. How it works…
        3. There's more...
      2. Adding an Expires or Cache-Control header (Simple)
        1. Getting ready
        2. How to do it...
        3. How it works...
        4. There's more...
      3. Following HTML standards (Simple)
        1. Getting ready
        2. How to do it...
        3. There's more...
      4. Reducing DOM elements (Intermediate)
        1. How to do it...
        2. How it works...
      5. Setting up CSS sprites (Advanced)
        1. Getting ready
        2. How to do it...
        3. There's more...
      6. Enabling compression (Simple)
        1. Getting ready
        2. How to do it...
        3. How it works...
      7. Optimizing images (Simple)
        1. How to do it...
        2. There's more…
      8. Minifying JavaScript and CSS files (Simple)
        1. Getting ready
        2. How to do it...
        3. How it works...
        4. There's more...
      9. Setting up browser caching (Simple)
        1. How to do it...
        2. How it works...
      10. Using Apache mod_pagespeed – installing and configuring (Advanced)
        1. Getting ready
        2. How to do it...
        3. How it works...
        4. There's more...
      11. Making favicon.ico small and cacheable (Simple)
        1. How to do it...
        2. How it works...
        3. There's more...
      12. Avoiding redirects and Not Found errors – 301 and 404 codes (Advanced)
        1. How to do it...
        2. How it works...
        3. There's more...
      13. Using the Flush method (Intermediate)
        1. Getting ready
        2. How to do it...
        3. How it works...
      14. Configuring ETags (Advanced )
        1. How to do it...
        2. How it works...
        3. There's more...
      15. Making AJAX cacheable (Intermediate)
        1. How to do it...
        2. How it works...
        3. There's more...
      16. Rules for using the CSS, JavaScript, and image files (Simple)
        1. How to do it...
        2. How it works...