TE
科技回声
首页24小时热榜最新最佳问答展示工作
GitHubTwitter
首页

科技回声

基于 Next.js 构建的科技新闻平台,提供全球科技新闻和讨论内容。

GitHubTwitter

首页

首页最新最佳问答展示工作

资源链接

HackerNews API原版 HackerNewsNext.js

© 2025 科技回声. 版权所有。

Show HN: Cappy – http proxy with file based caching

4 点作者 cyriacthomas大约 8 年前

2 条评论

tyingq大约 8 年前
Looks like it could be useful, thanks for sharing. Did you consider adding sendfile() support? There appears to be a python module that implements it.<p>Also, I see the gzip support, but you should also be able to send the gzipped file as-is (with the right content-length, etc) if the Vary headers from the client support it.<p>Edit: I don&#x27;t see it figuring out, and sending, the right Content-type header. Or is that functionality that comes with the base class you&#x27;re using to serve http?
评论 #13980444 未加载
bjinwright大约 8 年前
Looks cool but now I have to rename my project. I was going to use the cappy namespace on PyPi.