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

科技回声

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

GitHubTwitter

首页

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

资源链接

HackerNews API原版 HackerNewsNext.js

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

Ask HN: When Is the Last Time You've Looked into Your Site's Load Speeds?

6 点作者 spqr233将近 5 年前
Amazon said that they lose 1% in checkouts for every 0.1 seconds of latency on their pages so it's clear that it's important. But for some reason, I feel like we don't seem to focus on it as much as other parts of improving user experience. Why is that?

4 条评论

seanwilson将近 5 年前
I check my loading speed every time I change the site because my project promotes web best practices and I want to lead by example. :)<p><a href="https:&#x2F;&#x2F;www.checkbot.io&#x2F;" rel="nofollow">https:&#x2F;&#x2F;www.checkbot.io&#x2F;</a><p>The whole page is about 0.1MB transferred and should render in about 0.5s on desktop.<p>The basic tricks used: It&#x27;s a static site (so no SPA issues), uses HTTP&#x2F;2, uses a CDN, the big header screenshot is an inlined SVG image so it&#x27;s small + loads super fast + has high detail, blocking JavaScript isn&#x27;t required for displaying anything, small CSS footprint, CSS is inlined into the page header and self-hosted fonts that don&#x27;t block page rendering while they load.<p>&gt; Amazon said that they lose 1% in checkouts for every 0.1 seconds of latency on their pages<p>These statistics would be highly dependent on the type of website I imagine. If you were trying to buy a product from a website where you knew you could only buy it from that website you&#x27;re going to be much more patient for example.<p>Everyone likes a fast website though.
holler将近 5 年前
For me it&#x27;s something I do focus on, albeit to the extent reasonable. I&#x27;m working on a new chat site called sqwok.im and just like Amazon, there&#x27;s real concern that a slow page load could ward people off. There are two key areas I&#x27;ve focused on in particular, one is api optimization, minimizing network requests as much as possible, and the other is SSR or server-side rendering, where some of the initial page data is rendered with the html, cached by cdn, and loaded very fast after that. It&#x27;s not perfect, but most page loads are ~300ms (unless you hit a page that isn&#x27;t cached of course). May do a write up on that topic.
评论 #23598967 未加载
codingdave将近 5 年前
I do try to maintain a fast load speed, but I run a SaaS app for small government, so we don&#x27;t lose revenue due to poor load times. We lose confidence in our app, which still something we want to avoid, and may have a long term impact on revenue.<p>But the different business models are the reason that Amazon cares about 0.1 seconds, and will work to improve quickly, while I care more about 0.5 seconds or higher and can defer it as technical debt.
codegladiator将近 5 年前
&gt; so it&#x27;s clear that it&#x27;s important<p>for amazon