Web Performance Optimization: A Practical Approach

This document was uploaded by one of our users. The uploader already confirmed that they had the permission to publish it. If you are author/publisher or own the copyright of this documents, please report to us by using this DMCA report form.

Simply click on the Download Book button.

Yes, Book downloads on Ebookily are 100% Free.

Sometimes the book is free on Amazon As well, so go ahead and hit "Search on Amazon"

If you are looking for practical, easy-to-implement measures to enhance your site’s performance and improve speed and page load times, yet are still unsure where to start or how to develop your strategy, this book on Web Performance Optimization is the answer.

Focusing on practical areas including page speed optimization, compression, minification, localization, SEO, image optimization and more, this comprehensive book has several tips and examples that will walk you through the process of understanding web performance requirements for your site and formulating an implementation process to meet those standards.

Improving your website performance starts from the very first day you launch it. And since your business marketing and operation plans might constantly expand and evolve, committing to better user experience and search engine optimization would require consistency and a systematic approach. True optimization has to be regarded as a daily duty that involves monitoring changes in rates, rebranding, and redefining the site regularly. With the help of this book, you will understand essential web performance principles that will enable you to write clean code from scratch and optimize existing code with performance in mind.

By mastering simple steps of website optimization, you can expect to put your product on the map and enable heavier and more organic traffic in lesser time. A particular area of focus for this book is technical optimization. This book will guide you through standard modules and methods that you may implement to raise off-page efficiency, such as learning how to monitor sitemap errors, console errors, keep your code and URL clean, and ensure good search engine crawlability.

In order to serve your target audience with materials they would like, you need to understand who your viewers are -- this particular book helps you unravel just that by discussing analytics tools at length. Whether you are a new developer or an experienced webmaster, you will find reliable and insightful information to develop your web performance skills and knowledge.

In short, this book can definitely make web testing and optimization easy for you. it is bound to serve as a valuable companion for anyone looking to get into the world of Web Performance Optimization.

What Will You Learn:

How to optimize your site for better performance

How to write clean code from scratch and optimize existing code for performance

How to increase search traffic and improve speed and page load times

How to properly optimize images

How to ensure server-side optimization is done correctly, even if you are not a server admin

Who Is This Book For:

Web developers and webmasters responsible for managing and improving site performance; server admins and others seeking to enhance web performance.

Author(s): Sufyan bin Uzayr
Publisher: CRC Press
Year: 2022

Language: English
Pages: 192
City: Boca Raton

Cover
Half Title
Title Page
Copyright Page
Contents
Acknowledgments
About the Author
Chapter 1: What Web Performance Is and Why It Matters
WEBSITE PERFORMANCE IS KEY TO CUSTOMER RETENTION AND ACQUISITION
WEBSITE PERFORMANCE IS THE OBJECTIVE
WEB PERFORMANCE IS USER EXPERIENCE
Reducing Website Load Time
Making the Site User-Friendly
Measuring Website Performance
WHY WEB DEVELOPMENT MATTERS?
Better Website Performance Improves Brand Awareness
Better Website Performance Leads to Higher Conversion Rates
Web Performance Affects User Experience
Poor Website Performance Destroys Brands
Better Performing Websites Gain a Competitive Edge
Website Monitoring Is Essential
Mobile-First Design
CONCLUSION
Chapter 2: Optimization Techniques for Front End, Content, and Back End
BACK-END OPTIMIZATION
Check for Any Sitemap Errors
Check for Any Console Errors
Clean Code
Clean URL
Crawlability
Optimizing Database
Making Use of Web Hosting Service
FRONT-END OPTIMIZATION
Keep Site Speed in Mind
Make Use of Browser Caching
Optimize CSS
Optimize Images
Brotli and gzip Compression
Manage Third-Party JS
Prefetching
FRONT-END TESTING
Types of Front-End Testing
How to Create a Front-End Testing Plan
Front-End Performance Testing Tools
CONTENT OPTIMIZATION
Optimizing Text
Optimizing Images
Optimizing Videos
Optimizing News
ADDITIONAL OPTIMIZATION TIPS
Always Backup Your Site
Optimize Your Images before Uploading
Use a CDN to Improve Page Speed
Test Often
Optimize for People
Keep Mobile in Mind
CONCLUSION
Chapter 3: Web Performance and Speed
CONTENT DELIVERY NETWORKS
What Is a Content Delivery Network?
How Do Content Delivery Networks Work?
Benefits of Using a CDN
How to Pick the Perfect Content Delivery Network?
Nature of the Project
Budget in Hand
Required Features
Popular Content Delivery Networks
CloudFlare
Google Cloud CDN
StackPath
KeyCDN
Amazon CloudFront
CacheFly
Imperva Incapsula
Jetpack by WordPress
Sucuri
Rackspace
Fastly
MetaCDN
Akamai
CDN77
Netlify Edge
jsDelivr
Hostry
Swarmify
Cloudinary
USING CACHING FOR WEB PERFORMANCE AND SPEED
What Is Caching for the Web?
Browser Cache
Site Cache
Server Cache
Importance of Web Caching for Speed
Implementing Web Caching
Caching Operations
Useful Tips Related to Web Caching
CONCLUSION
Chapter 4: Conversion Rates: Localization and SEO-Specific Concerns, On-Page Optimization
LOCALIZATION
Mistakes to Avoid
Localization Does Not Mean Translation
Insufficient Multimedia Localization
Lack of Data-Driven Analysis
Lack of Culturally Sound Adaptation
Adaptation of Multilingual Service
Ignoring Design Considerations
Ignoring International SEO
SEARCH ENGINE OPTIMIZATION (SEO)
Create Audience-Oriented Content
Keywords, Meta Description, and Titles
URLs
ALT Tags
One Language Per Page Rule
CONTENT THREATS
TECHNICAL THREATS
CONCLUSION
Chapter 5: Measurement and Analysis: Analytics Tools and Measuring Web Performance
WEBSITE ANALYTICS SERVICE BEST PRACTICES
Do I Need Web Analytics for My Website at All?
TYPES OF WEBSITE ANALYTICS
User Analytics
Content Analytics
Behavioral Analytics
Traffic Analytics
Acquisition Analytics
Social Media Analytics
WEB ANALYTICS PLATFORMS
HOW DO I CHOOSE THE RIGHT WEB ANALYTICS TOOL FOR MY WEBSITE?
Start by Drafting a Solution Features Wish List
Define Your Targets
Analytics Data
Technical Requirements
Legal Requirements
Design and Export Capabilities
Professional Support
Integrations
Demonstration or Trial
Pricing
HOW TO READ ANALYTICS
Acquisition
Behavior
Conversions
CONCLUSION
Chapter 6: Other Measures: File Compression, Minification, Graphics Optimization, Databases, Redirects, and Hotlinks
IMAGE OPTIMIZATION
JAVASCRIPT PERFORMANCE
VIDEO OPTIMIZATION
MINIFICATION
DATABASES
MySQL
PostgreSQL
MongoDB
REDIRECTS
When to Use Redirects
HOTLINKS
How to Prevent Hotlinking
Chapter 7: Server-Side Optimization
NGINX
The Backlog Queue
File Descriptors
Worker Processes
Keepalive Connections
Access Logging
Sendfile
Monitor Your Nginx
LITESPEED
Apache Compatibility
Event-Driven Architecture
Security
Cost-Effective
Control Panel Plugins
Virtual Host Templates and Web Admin Console
Per-IP Throttling and SSL Renegotiation Protection
Brute Force Protection for wp-login.php
Reduced Hardware Costs
APACHE
OPERATING SYSTEMS
Linux
The CPU
Random-Access Memory (RAM)
System Installation Optimization
File System Optimization
Kernel Parameter Optimization
Windows
Speed
Search and Organization
Safety and Security
Interface and Desktop
Taskbar Menu
PHP OPTIMIZATION
Single and Double Quote Usage Matters
Close or Unset Variables
Optimize SQL Queries
Minify Your CSS and JavaScript
Use a CDN
Monitor PHP Performance
CONCLUSION
INDEX