{"id":25944866,"url":"https://github.com/raoul1996/http-cache","last_synced_at":"2026-02-11T10:31:48.659Z","repository":{"id":77850902,"uuid":"141016929","full_name":"Raoul1996/http-cache","owner":"Raoul1996","description":"http-cache 缓存学习","archived":false,"fork":false,"pushed_at":"2018-07-15T10:50:23.000Z","size":85,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"cache","last_synced_at":"2025-08-12T16:50:25.179Z","etag":null,"topics":["http-cache","nginx-docker"],"latest_commit_sha":null,"homepage":null,"language":"HTML","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Raoul1996.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"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,"zenodo":null}},"created_at":"2018-07-15T10:08:47.000Z","updated_at":"2018-07-15T10:51:22.000Z","dependencies_parsed_at":null,"dependency_job_id":"b4f7e97c-0286-4321-baba-d5bea7f6ea02","html_url":"https://github.com/Raoul1996/http-cache","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/Raoul1996/http-cache","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Raoul1996%2Fhttp-cache","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Raoul1996%2Fhttp-cache/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Raoul1996%2Fhttp-cache/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Raoul1996%2Fhttp-cache/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Raoul1996","download_url":"https://codeload.github.com/Raoul1996/http-cache/tar.gz/refs/heads/cache","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Raoul1996%2Fhttp-cache/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29332277,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-11T06:13:03.264Z","status":"ssl_error","status_checked_at":"2026-02-11T06:12:55.843Z","response_time":97,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"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":["http-cache","nginx-docker"],"created_at":"2025-03-04T08:19:28.914Z","updated_at":"2026-02-11T10:31:48.641Z","avatar_url":"https://github.com/Raoul1996.png","language":"HTML","readme":"# Http 缓存学习\n\n\u003e docker 下使用 nginx 学习 HTTP 缓存\n\n### Clone Repos\n\n```shell\n$ git clone https://github.com/Raoul1996/http-cache.git \n```\n\n### RUN\n\nplease install Docker before use docker command\n\n```shell\n$ cd http-cache\n$ docker run \\\n-d \\\n-p 8080:80 \\\n-p 8081:443 \\\n--volume \"$PWD/html\":/usr/share/nginx/html \\\n--volume \"$PWD/conf\":/etc/nginx \\\n--volume \"$PWD/log\":/var/log \\\n--rm \\\n--name mynginx \\\nnginx\n```\n\n### attach the contianer named mynginx and reload nginx\n\n```shell\n$ docker exec -it mynginx bash\n\n# in the tty supported by mynginx contianer\nnginx -t \u0026\u0026 service nginx reload\n```\nPS: don't use `service nginx restart`, this command will kill the nginx process, reload is enough.\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fraoul1996%2Fhttp-cache","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fraoul1996%2Fhttp-cache","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fraoul1996%2Fhttp-cache/lists"}