warmup:HTTP缓存预热

时间:2021-05-13 10:35:38
【文件属性】:
文件名称:warmup:HTTP缓存预热
文件大小:5KB
文件格式:ZIP
更新时间:2021-05-13 10:35:38
Go 暖身 HTTP缓存预热。 进入1.1+需要,因为bufio.NewScanner使用。 安装 go get -u github.com/peterhellberg/warmup 预热的用法 -base-url="http://0.0.0.0:7000": The base URL used for paths -color=true: If you want the output in color -delay=100: Delay (in ms) between requests -fatal-errors=false: Useful for automated testing -filename="urls.txt": List of URLs -limit=100: Limit of concurrent requests 您可能希望对您站点上最热门的路
【文件预览】:
warmup-master
----urls.txt(256B)
----warmup_test.go(3KB)
----.travis.yml(35B)
----warmup.go(3KB)
----README.md(2KB)
----.gitignore(258B)

网友评论