By Steve Souders

Want your website to exhibit extra speedy? This booklet offers 14 particular principles that would lower 25% to 50% off reaction time whilst clients request a web page. writer Steve Souders, in his activity as leader functionality Yahoo!, accrued those top practices whereas optimizing many of the most-visited pages on the net. Even websites that had already been hugely optimized, corresponding to Yahoo! seek and the Yahoo! entrance web page, have been capable of make the most of those strangely basic functionality guidelines.

The principles in High functionality net Sites clarify how one can optimize the functionality of the Ajax, CSS, JavaScript, Flash, and photographs that you've got already outfitted into your web site -- changes which are serious for any wealthy net program. different assets of data pay loads of consciousness to tuning internet servers, databases, and undefined, however the bulk of demonstrate time is taken up at the browser aspect and through the communique among server and browser. High functionality internet Sites covers each point of that process.

Each functionality rule is supported through particular examples, and code snippets can be found at the book's spouse website. the foundations contain how to:

  • Make Fewer HTTP Requests
  • Use a content material supply Network
  • Add an Expires Header
  • Gzip Components
  • Put Stylesheets on the Top
  • Put Scripts on the Bottom
  • Avoid CSS Expressions
  • Make JavaScript and CSS External
  • Reduce DNS Lookups
  • Minify JavaScript
  • Avoid Redirects
  • Remove Duplicates Scripts
  • Configure ETags
  • Make Ajax Cacheable

If you are development pages for top site visitors locations and need to optimize the adventure of clients vacationing your web site, this publication is indispensable.

"If every person might enforce simply 20% of Steve's guidance, the internet will be adramatically larger position. among this booklet and Steve's YSlow extension, there is reallyno excuse for having a gradual site anymore."

-Joe Hewitt, Developer of Firebug debugger and Mozilla's DOM Inspector

"Steve Souders has performed a wonderful task of distilling a major, semi-arcane artwork right down to a suite of concise, actionable, pragmatic engineering steps that would switch the realm of internet performance."

-Eric Lawrence, Developer of the Fiddler internet Debugger, Microsoft Corporation

Show description

Preview of High Performance Web Sites: Essential Knowledge for Front-End Engineers PDF

Best Computing books

Emerging Trends in Image Processing, Computer Vision and Pattern Recognition (Emerging Trends in Computer Science and Applied Computing)

Rising developments in picture Processing, machine imaginative and prescient, and trend popularity discusses the newest in developments in imaging technological know-how which at its middle involves 3 intertwined desktop technological know-how fields, specifically: photograph Processing, machine imaginative and prescient, and development acceptance. there's major renewed curiosity in every one of those 3 fields fueled by way of tremendous info and knowledge Analytic tasks together with yet now not constrained to; purposes as assorted as computational biology, biometrics, biomedical imaging, robotics, protection, and data engineering.

Introduction to Cryptography with Coding Theory (2nd Edition)

With its conversational tone and functional concentration, this article mixes utilized and theoretical elements for an excellent advent to cryptography and defense, together with the most recent major developments within the box. Assumes a minimum heritage. the extent of math sophistication is resembling a path in linear algebra.

Absolute C++ (5th Edition)

&>NOTE: You are paying for a standalone product; MyProgrammingLab doesn't come packaged with this content material. if you happen to would like to buy either the actual textual content and MyProgrammingLab look for ISBN-10: 0132989921/ISBN-13: 9780132989923. That package includes ISBN-10: 013283071X/ISBN-13: 9780132830713 and ISBN-10: 0132846578/ISBN-13: 9780132846578.

Problem Solving with C++ (9th Edition)

Notice: you're buying a standalone product; MyProgrammingLab doesn't come packaged with this content material. if you want to buy either the actual textual content and MyProgrammingLab  look for ISBN-10: 0133862216/ISBN-13: 9780133862218. That package deal contains ISBN-10: 0133591743/ISBN-13: 9780133591743  and ISBN-10: 0133834417 /ISBN-13: 9780133834413.

Additional info for High Performance Web Sites: Essential Knowledge for Front-End Engineers

Show sample text content

1 monitoring web content functionality the place Does the Time pass? The functionality Golden Rule 1 three four B. HTTP assessment . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6 Compression Conditional GET Requests Expires Keep-Alive There’s extra 7 7 eight eight nine 1. Rule 1: Make Fewer HTTP Requests . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10 photograph Maps CSS Sprites Inline photographs mixed Scripts and Stylesheets end 10 eleven thirteen 15 sixteen 2. Rule 2: Use a content material supply community . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 18 content material supply Networks The discount rates 19 20 vii 3. Rule three: upload an Expires Header . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 22 Expires Header Max-Age and mod_expires Empty Cache vs. Primed Cache greater than simply photographs Revving Filenames Examples 22 23 24 25 27 28 four. Rule four: Gzip parts . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 29 How Compression Works What to Compress The mark downs Configuration Proxy Caching aspect circumstances Gzip in motion 29 30 31 31 33 34 35 five. Rule five: placed Stylesheets on the most sensible . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 37 innovative Rendering sleep. cgi clean White display Flash of Unstyled content material What’s a Frontend Engineer to Do? 37 38 39 forty three forty three 6. Rule 6: placed Scripts on the backside . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . forty five issues of Scripts Parallel Downloads Scripts Block Downloads Worst Case: Scripts on the most sensible top Case: Scripts on the backside placing It in point of view forty five forty six forty eight forty nine forty nine 50 7. Rule 7: stay away from CSS Expressions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . fifty one Updating Expressions operating round the challenge end viii | desk of Contents fifty two fifty two fifty four 8. Rule eight: Make JavaScript and CSS exterior . . . . . . . . . . . . . . . . . . . . . . . . . . . . . fifty five Inline vs. exterior regular leads to the sphere domestic Pages the easiest of either Worlds fifty five fifty eight fifty eight fifty nine nine. Rule nine: lessen DNS Lookups . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . sixty three DNS Caching and TTLs The Browser’s viewpoint lowering DNS Lookups sixty three sixty six sixty eight 10. Rule 10: Minify JavaScript . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . sixty nine Minification Obfuscation The reductions Examples Icing at the Cake sixty nine 70 70 seventy two seventy three eleven. Rule eleven: steer clear of Redirects . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . seventy six different types of Redirects How Redirects harm functionality choices to Redirects seventy six seventy seven seventy nine 12. Rule 12: get rid of replica Scripts . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . eighty five reproduction Scripts—They occur replica Scripts harm functionality averting reproduction Scripts eighty five 86 87 thirteen. Rule thirteen: Configure ETags . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 89 What’s an ETag? the matter with ETags ETags: Use ’Em or Lose ’Em ETags within the genuine international 89 ninety one ninety three ninety four 14. Rule 14: Make Ajax Cacheable . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . ninety six internet 2. zero, DHTML, and Ajax Asynchronous = on the spot? Optimizing Ajax Requests Caching Ajax within the actual global ninety six ninety eight ninety nine ninety nine desk of Contents | ix 15. Deconstructing 10 best websites . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 103 web page Weight, reaction Time, YSlow Grade How the exams have been performed Amazon AOL CNN eBay Google MSN MySpace Wikipedia Yahoo!

Download PDF sample

Rated 4.98 of 5 – based on 27 votes