ebook img

HTTP/2 in Action PDF

410 Pages·2019·19.52 MB·English
Save to my drive
Quick download
Download
Most books are stored in the elastic cloud where traffic is expensive. For this reason, we have a limit on daily download.

Preview HTTP/2 in Action

IN ACTION Barry Pollard M A N N I N G HTTP/2 in Action HTTP/2 in Action BARRY POLLARD MANNING SHELTER ISLAND For online information and ordering of this and other Manning books, please visit www.manning.com. The publisher offers discounts on this book when ordered in quantity. For more information, please contact Special Sales Department Manning Publications Co. 20 Baldwin Road PO Box 761 Shelter Island, NY 11964 Email: [email protected] ©2019 by Manning Publications Co. All rights reserved. No part of this publication may be reproduced, stored in a retrieval system, or transmitted, in any form or by means electronic, mechanical, photocopying, or otherwise, without prior written permission of the publisher. Many of the designations used by manufacturers and sellers to distinguish their products are claimed as trademarks. Where those designations appear in the book, and Manning Publications was aware of a trademark claim, the designations have been printed in initial caps or all caps. Recognizing the importance of preserving what has been written, it is Manning’s policy to have the books we publish printed on acid-free paper, and we exert our best efforts to that end. Recognizing also our responsibility to conserve the resources of our planet, Manning books are printed on paper that is at least 15 percent recycled and processed without the use of elemental chlorine. Manning Publications Co. Development editor: Kevin Harreld 20 Baldwin Road Technical development editor: Thomas McKearney PO Box 761 Review editor: Ivan Martinovic Shelter Island, NY 11964 Project editor: Vincent Nordhaus Copy editor: Kathy Simpson Proofreader: Alyson Brener Technical proofreader: Lokeshwar Vangala Typesetter: Dennis Dalinnik Cover designer: Marija Tudor ISBN: 9781617295164 Printed in the United States of America 1 2 3 4 5 6 7 8 9 10 – SP – 24 23 22 21 20 19 In memory of Ronan Rafferty (1977–2018), web developer and friend brief contents PART 1 MOVING TO HTTP/2 ...................................................1 1 ■ Web technologies and HTTP 3 2 ■ The road to HTTP/2 35 3 ■ Upgrading to HTTP/2 69 PART 2 USING HTTP/2..........................................................91 4 ■ HTTP/2 protocol basics 93 5 ■ Implementing HTTP/2 push 142 6 ■ Optimizing for HTTP/2 182 PART 3 ADVANCED HTTP/2 .................................................223 7 ■ Advanced HTTP/2 concepts 225 8 ■ HPACK header compression 249 PART 4 THE FUTURE OF HTTP.............................................279 9 ■ TCP, QUIC, and HTTP/3 281 10 ■ Where HTTP goes from here 317 vii contents preface xv acknowledgments xvii about this book xx about the author xxiii about the cover illustration xxiv PART 1 MOVING TO HTTP/2 .........................................1 1 Web technologies and HTTP 3 1.1 How the web works 3 The internet versus the World Wide Web 4 ■ What happens when you browse the web? 4 1.2 What is HTTP? 9 1.3 The syntax and history of HTTP 15 HTTP/0.9 15 ■ HTTP/1.0 16 ■ HTTP/1.1 22 1.4 Introduction to HTTPS 28 1.5 Tools for viewing, sending, and receiving HTTP messages 31 Using developer tools in web browsers 31 ■ Sending HTTP requests 33 ■ Other tools for viewing and sending HTTP requests 34 ix

Description:
HTTP/2 in Action is a complete guide to HTTP/2, one of the core protocols of the web. Because HTTP/2 has been designed to be easy to transition to, including keeping it backwards compatible, adoption is rapid and expected to increase over the next few years. Concentrating on practical matters, this
See more

The list of books you might like

Most books are stored in the elastic cloud where traffic is expensive. For this reason, we have a limit on daily download.