是否有适用于 Java 的 HttpCahce 客户端库?

发布于 2024-12-13 07:01:04 字数 308 浏览 4 评论 0 原文

我已经询问有关android的问题,但我会将问题扩大到一般情况下包括java...是否有用于实现Http缓存的库?我想更有效地下载我的图像,尊重 If-Modified-Since、etags 等。

我确信有一个库可以将图像的 url 传递给该库,并让该库处理所有重定向或获取本地存储的缓存中的内容?

BR // 乔纳斯

I have already asked about this for android, but I will broaden the question to include java in general... Are there any libraries for implementing a Http cache? I want to download my images more efficiently, honoring If-Modified-Since, etags, etc.

I'm sure there is a library to which one can pass the url of the image and let the lib handle all redirects or fetch the locally stored content in a cache?

BR // Jonas

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

一个人练习一个人 2024-12-20 07:01:04

看看这个以及这个博客文章。也许他们有帮助?另请查看此处的类似问题。

Take a look at this and also this blog post. Maybe they help? Also look at a similar question here.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文