HTTP/2 was developed to improve web performance over HTTP/1.1 and SPDY. It uses a binary framing layer, header compression, multiplexing, server push, and prioritization. These allow full request/response parallelism over a single connection. HTTP/2 maintains compatibility with HTTP/1.1 by using the same methods and status codes while improving performance through binary encoding and header compression.