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

科技回声

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

GitHubTwitter

首页

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

资源链接

HackerNews API原版 HackerNewsNext.js

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

Base64 encoding versus traditional image hosting benchmarks

3 点作者 hebejebelus超过 14 年前

1 comment

Travis超过 14 年前
That's very interesting -- I never actually thought about base64 encoding an image to send inline in a file, then reconverting it with javascript!<p>Mostly I love how you had an idea, then tested it. Thank you for writing up the results and publishing them, too.<p>This could be more interesting in the future as bandwidth increases, but latency will still be limited by the speed of light. At some point, it will be worthwhile to stuff another 100kb into a file in order to prevent the latency.<p>Also, I wonder how much of that +100kb in the base64 encoding would be compressed back down by mod_gzip (assuming you're compressing your http connections, which is pretty standard). If that base64 overhead can be cut in 2/3, then you'll really have an interesting idea.