Instant PageSpeed Optimization
()
About this ebook
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.
ApproachFilled with practical, step-by-step instructions and clear explanations for the most important and useful tasks. Instant PageSpeed Optimization is a hands-on guide that provides a number of clear, step-by-step exercises for optimizing your websites for better performance and improving their efficiency.
Who this book is forInstant PageSpeed Optimization is aimed at website developers and administrators who wish to make their websites load faster without any errors and consume less bandwidth. It’s assumed that you will have some experience in basic web technologies like HTML, CSS3, JavaScript, and the basics of networking, as well as knowing how to edit Apache configuration.
Sanjeev Jaiswal
Sanjeev Jaiswal is a computer graduate with four years of industrial experience and more than six years of web development experience. He extensively uses Perl and GNU/Linux for his day-to-day work and also teaches Drupal and WordPress CMS to bloggers. He has worked closely with major clients such as CSC, IBM, and Motorola mobility. Sanjeev loves teaching technical functionalities to engineering students and IT professionals and has been teaching since 2008. He founded AlienCoders (http://www.aliencoders.com) based on the principle of "learning through sharing" for Computer Science students and IT professionals in 2010, which became a huge hit in India among engineering students. He usually uploads technical videos to YouTube on his channel "AlienCoders". Sanjeev has a huge fan base on his site and on YouTube because of his simple but effective way of teaching and his philanthropic nature toward students.
Related to Instant PageSpeed Optimization
Related ebooks
Eco-responsible web design: A practical guide to substainable websites Rating: 0 out of 5 stars0 ratingsAn Introduction to Website Performance: How to Outrun the Zombie Hordes: Undead Institute, #15 Rating: 0 out of 5 stars0 ratingsHtml For Beginners: The Complete Step-By-Step Guide To Learning, Understanding, And Mastering HTML Programming For Web Designing Rating: 0 out of 5 stars0 ratingsWeb Marketing & SEO - Google DOs & Google DON’Ts Rating: 0 out of 5 stars0 ratingsWordpress Websites for Business: How Anyone Can Maximize Website Performance and Results Rating: 0 out of 5 stars0 ratingsFast ASP.NET Websites Rating: 0 out of 5 stars0 ratingsResponsive Design High Performance Rating: 0 out of 5 stars0 ratingsDesigning Your Website to Use Less Energy: Green Energy Websites Rating: 0 out of 5 stars0 ratingsTechnical SEO Handbook: Learn How to Audit and Fix Technical SEO Issues Rating: 0 out of 5 stars0 ratingsWordPress 3 For Business Bloggers Rating: 5 out of 5 stars5/5Semantic Seo 2016 Rating: 5 out of 5 stars5/5All That You Need to Know When Buying Domains Rating: 0 out of 5 stars0 ratingsSEO Website Design for Small Businesses Rating: 5 out of 5 stars5/5CMS Made Simple 1.9 Beginner?s Guide: LITE Edition Rating: 5 out of 5 stars5/5SEO Dojo: Search Engine Optimization Mastery for Martial Arts Schools Rating: 0 out of 5 stars0 ratingsWebsite Basics Rating: 0 out of 5 stars0 ratingsMicrosoft Expression Web For Dummies Rating: 0 out of 5 stars0 ratingsOpenCart Tips and Tricks Vol 2 Rating: 0 out of 5 stars0 ratingsMoney Making Clicks: Step-by-Step Instructions to Take Your Business Online to Profit from Internet Advertising Rating: 0 out of 5 stars0 ratingsInstant CloudFlare Starter Rating: 0 out of 5 stars0 ratingsCreating Web Pages For Dummies Rating: 3 out of 5 stars3/5Dreamweaver CC For Dummies Rating: 0 out of 5 stars0 ratingsCreate A Website With Wordpress Social Media Rating: 0 out of 5 stars0 ratingsHTML, XHTML and CSS For Dummies Rating: 4 out of 5 stars4/5My Website At Last! The Essential Guidebook To Basic Web Design Unleashing Your Creativity At No Costs Rating: 0 out of 5 stars0 ratingsFire Your Web Guy!: Use WordPress to Build Your Own Ecommerce Website Without Any Coding Rating: 0 out of 5 stars0 ratingsResponsive Web Design with HTML5 and CSS3 Essentials Rating: 5 out of 5 stars5/5
Internet & Web For You
Notion for Beginners: Notion for Work, Play, and Productivity Rating: 4 out of 5 stars4/5Python: Learn Python in 24 Hours Rating: 4 out of 5 stars4/5How to Be Invisible: Protect Your Home, Your Children, Your Assets, and Your Life Rating: 4 out of 5 stars4/5The $1,000,000 Web Designer Guide: A Practical Guide for Wealth and Freedom as an Online Freelancer Rating: 4 out of 5 stars4/5Coding For Dummies Rating: 5 out of 5 stars5/5Coding All-in-One For Dummies Rating: 4 out of 5 stars4/5The Digital Marketing Handbook: A Step-By-Step Guide to Creating Websites That Sell Rating: 5 out of 5 stars5/5JavaScript All-in-One For Dummies Rating: 5 out of 5 stars5/5The Beginner's Affiliate Marketing Blueprint Rating: 4 out of 5 stars4/5Canva Tips and Tricks Beyond The Limits Rating: 3 out of 5 stars3/5Cybersecurity For Dummies Rating: 5 out of 5 stars5/5More Porn - Faster!: 50 Tips & Tools for Faster and More Efficient Porn Browsing Rating: 3 out of 5 stars3/5Social Engineering: The Science of Human Hacking Rating: 3 out of 5 stars3/5The Gothic Novel Collection Rating: 5 out of 5 stars5/5UX/UI Design Playbook Rating: 4 out of 5 stars4/5Principles of Web Design Rating: 0 out of 5 stars0 ratingsThe Basics of User Experience Design by Interaction Design Foundation Rating: 4 out of 5 stars4/52022 Adobe® Premiere Pro Guide For Filmmakers and YouTubers Rating: 5 out of 5 stars5/5Get Started in UX: The Complete Guide to Launching a Career in User Experience Design Rating: 4 out of 5 stars4/5Web Coding & Development All-in-One For Dummies Rating: 1 out of 5 stars1/5Tor and the Dark Art of Anonymity Rating: 5 out of 5 stars5/5SEO For Dummies Rating: 4 out of 5 stars4/548 Really Useful Web Sites Rating: 5 out of 5 stars5/5Build a WordPress Website From Scratch 2024: WordPress 2024 Rating: 0 out of 5 stars0 ratingsThe Logo Brainstorm Book: A Comprehensive Guide for Exploring Design Directions Rating: 4 out of 5 stars4/5Web Design For Dummies Rating: 4 out of 5 stars4/5
Reviews for Instant PageSpeed Optimization
0 ratings0 reviews
Book preview
Instant PageSpeed Optimization - Sanjeev Jaiswal
Table of Contents
Instant PageSpeed Optimization
Credits
About the Author
About the Reviewer
www.PacktPub.com
Support files, eBooks, discount offers and more
Why Subscribe?
Free Access for Packt account holders
Preface
What this book covers
What you need for this book
Who this book is for
Conventions
Reader feedback
Customer support
Downloading the example code
Errata
Piracy
Questions
1. Instant PageSpeed Optimization
Minimizing HTTP requests (Simple)
How to do it...
How it works…
There's more...
Adding an Expires or Cache-Control header (Simple)
Getting ready
How to do it...
How it works...
There's more...
Following HTML standards (Simple)
Getting ready
How to do it...
There's more...
Reducing DOM elements (Intermediate)
How to do it...
How it works...
Setting up CSS sprites (Advanced)
Getting ready
How to do it...
There's more...
Enabling compression (Simple)
Getting ready
How to do it...
How it works...
Optimizing images (Simple)
How to do it...
There's more…
Minifying JavaScript and CSS files (Simple)
Getting ready
How to do it...
How it works...
There's more...
Setting up browser caching (Simple)
How to do it...
How it works...
Using Apache mod_pagespeed – installing and configuring (Advanced)
Getting ready
How to do it...
How it works...
There's more...
Making favicon.ico small and cacheable (Simple)
How to do it...
How it works...
There's more...
Avoiding redirects and Not Found errors – 301 and 404 codes (Advanced)
How to do it...
How it works...
There's more...
Using the Flush method (Intermediate)
Getting ready
How to do it...
How it works...
Configuring ETags (Advanced )
How to do it...
How it works...
There's more...
Making AJAX cacheable (Intermediate)
How to do it...
How it works...
There's more...
Rules for using the CSS, JavaScript, and image files (Simple)
How to do it...
How it works...
Instant PageSpeed Optimization
Instant PageSpeed Optimization
Copyright © 2013 Packt Publishing
All rights reserved. No part of this book may be reproduced, stored in a retrieval system, or transmitted in any form or by any means, without the prior written permission of the publisher, except in the case of brief quotations embedded in critical articles or reviews.
Every effort has been made in the preparation of this book to ensure the accuracy of the information presented. However, the information contained in this book is sold without warranty, either express or implied. Neither the author, nor Packt Publishing, and its dealers and distributors will be held liable for any damages caused or alleged to be caused directly or indirectly by this book.
Packt Publishing has endeavored to provide trademark information about all of the companies and products mentioned in this book by the appropriate use of capitals. However, Packt Publishing cannot guarantee the accuracy of this information.
First published: September 2013
Production Reference: 1240913
Published by Packt Publishing Ltd.
Livery Place
35 Livery Street
Birmingham B3 2PB, UK.
ISBN 978-1-84969-732-3
www.packtpub.com
Credits
Author
Sanjeev Jaiswal
Reviewer
Ravindran Navaneethan
Acquisition Editor
Akram Hussain
Commissioning Editor
Neha Nagwekar
Technical Editors
Jalasha D'costa
Kapil Hemnani
Copy Editors
Mradula Hegde
Laxmi Subramanian
Project Coordinator
Amey Sawant
Proofreader
Faye Coulman
Production Coordinator
Kirtee Shingan
Cover Work
Kirtee Shingan
Cover Image
Abhinash Sahu
About the Author
Sanjeev Jaiswal is a computer graduate with four years of industrial experience and more than six years of web development experience. He extensively uses Perl and GNU/Linux for his day-to-day work and also teaches Drupal and WordPress CMS to bloggers. He has worked closely with major clients such as CSC, IBM, and Motorola mobility.
Sanjeev loves teaching technical functionalities to engineering students and IT professionals and has been teaching since 2008. He founded AlienCoders (http://www.aliencoders.com)based on the principle of learning through sharing
for Computer Science students and IT professionals in 2010, which became a huge hit in India among engineering students.
He usually uploads technical videos to YouTube on his channel AlienCoders
. Sanjeev has a huge fan base on his site and on YouTube because of his simple but effective way of teaching and his philanthropic nature toward students.
I would like to thank my parents for their moral support while writing these recipes till late into the night. I would also like to express deep thanks and gratitude to my best friend Ritesh Kamal, without whose efforts this book would quite possibly not have happened.
I would also like to thank all the mentors, friends, and supporters I've