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

科技回声

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

GitHubTwitter

首页

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

资源链接

HackerNews API原版 HackerNewsNext.js

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

Ask HN: Where do you store images for your static site?

3 点作者 jskherman11 个月前
I&#x27;m currently using Zola as my static site generator and I&#x27;m looking into ways to store and serve images from. There are options like Cloudflare&#x27;s R2 (S3-compatible), Cloudinary, or even a site dedicated to images and hotlinking to there. God forbid that the solution is committing binary images to the Git repository.<p>Do you have any recommendations that are portable (e.g. easy to switch vendors) and inexpensive, preferably free at the start?

4 条评论

sgbeal11 个月前
&gt; God forbid that the solution is committing binary images to the Git repository.<p>Where does the misconception that that&#x27;s somehow a problem stem from? In 30 years of having web sites, that approach has invariably served me well.
评论 #41022757 未加载
cuu50811 个月前
Together with the static site, in &#x2F;img&#x2F; directory next to the html files.
评论 #41024251 未加载
OhMeadhbh11 个月前
as data uris. the whole static site is on one of a couple different CDNs depending on region.
评论 #41022580 未加载
pestatije11 个月前
im using Cloudflare for my static content (includes images)
评论 #41022679 未加载