{"id":22385716,"url":"https://github.com/eteplus/http2-demo","last_synced_at":"2025-07-04T09:07:03.262Z","repository":{"id":82262495,"uuid":"99535167","full_name":"eteplus/http2-demo","owner":"eteplus","description":"http2 demo","archived":false,"fork":false,"pushed_at":"2017-08-07T05:06:46.000Z","size":115,"stargazers_count":1,"open_issues_count":0,"forks_count":2,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-03-26T20:33:29.621Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/eteplus.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2017-08-07T04:01:59.000Z","updated_at":"2017-08-07T05:07:25.000Z","dependencies_parsed_at":null,"dependency_job_id":"4c3180fe-aa35-449c-8caa-a9f85ddad919","html_url":"https://github.com/eteplus/http2-demo","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/eteplus/http2-demo","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/eteplus%2Fhttp2-demo","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/eteplus%2Fhttp2-demo/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/eteplus%2Fhttp2-demo/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/eteplus%2Fhttp2-demo/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/eteplus","download_url":"https://codeload.github.com/eteplus/http2-demo/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/eteplus%2Fhttp2-demo/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":263480866,"owners_count":23473164,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-12-05T01:27:04.255Z","updated_at":"2025-07-04T09:07:03.237Z","avatar_url":"https://github.com/eteplus.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"### HTTP2 与 HTTP1.1 \n1. http 和 http2 图片加载速度对比\n2. 请求页面，推送页面相关资源\n\n打开chrome开发者工具，查看资源获取状况\n\n### 创建Https 私钥和证书\n```bash\n＃生成私钥key文件\nopenssl genrsa 1024 \u003e private.pem\n\n＃通过私钥文件生成CSR证书签名\nopenssl req -new -key private.pem -out csr.pem\n\n＃通过私钥文件和CSR证书签名生成证书文件\nopenssl x509 -req -days 365 -in csr.pem -signkey private.pem -out server.crt\n\n# private.pem: 私钥\n# csr.pem: CSR证书签名\n# server.crt: 证书文件\n```\n\n### 安装：\n```bash\n\nnpm install\n\nnpm start\n```\n\n### License\n\nThe MIT License (MIT)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Feteplus%2Fhttp2-demo","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Feteplus%2Fhttp2-demo","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Feteplus%2Fhttp2-demo/lists"}