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

科技回声

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

GitHubTwitter

首页

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

资源链接

HackerNews API原版 HackerNewsNext.js

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

Simplifying the Craigslist Gallery

1 点作者 bradley_taunt超过 2 年前

1 comment

Minor49er超过 2 年前
This post says that Craigslist uses &quot;a chunk of bloated JavaScript to render something as simple as a collection of images&quot; without describing the bloat or even saying how big it is. Then it offers an alternative solution that is actually <i>more</i> bloated because it loads all full-sized images that are in a gallery. Craigslist will only load full-sized images once the user starts interacting with the gallery, but also offers much smaller thumbnails first. The lack of thumbnails on the author&#x27;s version also makes it harder to navigate since you have to scroll through each image to see it rather than just seeing the thumbnails below
评论 #33166078 未加载