Skip to content

l-zhi/http2-example

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 

Repository files navigation

http2-example

http2 demo using koa and component

提供了两个例子:

  • http 和 http2 图片加载速度对比
  • 请求页面,推送页面相关资源

打开chrome开发者工具,查看资源获取状况

安装:

# Clone this example
git clone git://github.com/l-zhi/http2-example
cd http2-example

# Install all dependencies and build the assets
npm install

# Start the server. Serves on port 3456 by default
npm start

License

The MIT License (MIT)

About

http2 demo using koa and component

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published