Professional Website Performance: Optimizing the Front-End and Back-End

Book description

Achieve optimal website speed and performance with this Wrox guide

Effective website development requires optimum performance with regard to both web browser and server. This book covers all aspects of building and maintaining websites that deliver peak performance on all levels. Exploring both front-end and back-end configuration, it examines factors like compression and JavaScript, database performance, MySQL tuning, NoSQL alternatives, load-balancing across multiple servers, effective caching of web contents, CSS, and much more. Both developers and system administrators will find value in this platform-neutral guide.

  • Covers essential information for creating and maintaining websites that deliver peak performance on both front end and back end

  • Explains how to configure front-end performance related to the web browser and how to speed up communication between server and browser

  • Topics include MySQL tuning, NoSQL alternatives, CSS, JavaScript, and web images

  • Explores how to minimize the performance penalties of SSL; load-balancing across multiple servers with Apache, Nginx, and MySQL; and effective caching and compression of web contents

Professional Website Performance: Optimizing the Front End and Back End offers essential information to help both front-end and back-end technicians ensure better website performance.

Table of contents

  1. Cover
  2. Contents
  3. Part I: Front End
    1. Chapter 1: A Refresher on Web Browsers
      1. A Brief History of Web Browsers
      2. Inside HTTP
      3. How Browsers Download and Render Content
      4. Summary
    2. Chapter 2: Utilizing Client-Side Caching
      1. Understanding the Types of Caching
      2. Controlling Caching
      3. Dealing with Intermediate Caches
      4. Caching HTTP Responses
      5. DNS Caching and Prefetching
      6. Summary
    3. Chapter 3: Content Compression
      1. Who Uses Compression
      2. Understanding How Compression Works
      3. Compression in PHP
      4. Summary
    4. Chapter 4: Keeping the Size Down with Minification
      1. JavaScript Minification
      2. CSS Minification
      3. HTML Minification
      4. Summary
    5. Chapter 5: Optimizing Web Graphics and CSS
      1. Understanding Image Formats
      2. Optimizing Images
      3. CSS Sprites
      4. CSS Performance
      5. Looking Forward
      6. Summary
    6. Chapter 6: JavaScript, the Document Object Model, and Ajax
      1. JavaScript, JScript, and ECMAScript
      2. The Document Object Model
      3. Getting the Most from JavaScript
      4. Ajax
      5. Summary
  4. Part II: Back End
    1. Chapter 7: Working with Web Servers
      1. Apache
      2. Looking Beyond Apache
      3. Multiserver Setups with Nginx and Apache
      4. Load Balancers
      5. Summary
    2. Chapter 8: Tuning MySQL
      1. Looking Inside MySQL
      2. Understanding the Storage Engines
      3. Tuning MySQL
      4. Tuning MyISAM
      5. Tuning InnoDB
      6. Working with the Query Cache
      7. Optimizing SQL
      8. Summary
    3. Chapter 9: MySQL in the Network
      1. Using Replication
      2. Partitioning
      3. Sharding
      4. Complementing MySQL
      5. Alternatives to MySQL
      6. Summary
    4. Chapter 10: Utilizing NoSQL Solutions
      1. NoSQL Flavors
      2. memcache
      3. MongoDB
      4. Other NoSQL Technologies
      5. Summary
    5. Chapter 11: Working with Secure Sockets Layer (SSL)
      1. SSL Caching
      2. SSL Termination and Endpoints
      3. Sending Intermediate Certificates
      4. Determining Key Sizes
      5. Selecting Cipher Suites
      6. Investing in Hardware Acceleration
      7. The Future of SSL
      8. Summary
    6. Chapter 12: Optimizing PHP
      1. Extensions and Compiling
      2. Opcode Caching
      3. Compiling PHP
      4. Sessions
      5. Efficient PHP Programming
      6. Profiling with xhprof
      7. Summary
  5. Part III: Appendixes
    1. Appendix A: TCP Performance
      1. The Three-Way Handshake
      2. TCP Performance
    2. Appendix B: Designing for Mobile Platforms
      1. Understanding Mobile Platforms
      2. Responsive Content
      3. JavaScript and CSS Compatibility
      4. Caching in Mobile Devices
    3. Appendix C: Compression
      1. The LZW Family
      2. Huffman Encoding
      3. Compression Implementations
  6. Introduction
  7. Advertisements

Product information

  • Title: Professional Website Performance: Optimizing the Front-End and Back-End
  • Author(s):
  • Release date: November 2012
  • Publisher(s): Wrox
  • ISBN: 9781118487525