date: 2018-3-8 13:50:03Title: Swoft| Swoft official website HTTP2 practice Swoft1.0 officially strikes, Swoft also ushered in a milestone of its own.Star Number Breaks 1kAs an important channel for service developers of the project team, the. Swoft website has also ushered in a major update of its own: Refactoring, upgrade to Swoft1.0 The whole station implements ..
Category : http-2
Introduction I have always wanted to study deeply.HTTP2However, the content is too much and complicated, which requires a lot of time. Therefore, we chose to adopt a fragmentary learning method and record the knowledge points we saw as a learning process. The article comes from the Internet, here isOriginal textFor future reference. Features of HTTP2 ..
Order This paper mainly studies how java9+springboot2+undertow2 enables http2 and server push. maven <parent> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-starter-parent</artifactId> <version>2.0.0.RELEASE</version> <relativePath/> <!– lookup parent from repository –> </parent> <properties> <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> <project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding> <java.version>9</java.version> </properties> <dependency> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-starter-undertow</artifactId> </dependency> <dependency> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-starter-web</artifactId> <exclusions> <exclusion> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-starter-tomcat</artifactId> </exclusion> </exclusions> </dependency> Note the use of undertow here, removing tomcat dependency from starter-web ..
I. research objectives The concept of HTTP2 has been put forward for quite a long time, and articles about http2 on the Internet have also been searched. However, judging from the results of the search, most of the existing articles are biased towards the introduction of http2, and few of them are actually specifically analyzed ..