Menu

I throttled our marketing site to Fast 3G and the 400 KB of JavaScript was not the problem
📰

I throttled our marketing site to Fast 3G and the 400 KB of JavaScript was not the problem

DEV Community: nextjs·Daniel Pertu·12 days ago
#9xzvLKsG
#devtonextjs#devto#dev#pages#bytes
Reading 0:00
15s threshold

We measured four live pages twice each, once unthrottled and once at 4x CPU throttling with 1.6 Mbps down and 150ms of latency, which is roughly what DevTools calls Fast 3G. Cache disabled both times. The metrics come from PerformanceObserver with buffered: true registered before navigation, so nothing is inferred from a lab score.

The four pages: the homepage , the FAQ , a free tool and a comparison page . Three of them are static prose and one is the only page on the site with a product mock on it.

The numbers

page load, fast load, throttled FCP throttled LCP throttled long tasks CLS

/ 762ms 12,334ms 1,872ms 4,248ms 0 0

/faq 224ms 2,622ms 1,536ms 1,536ms 3 (283ms) 0

/tools/round-planner 309ms 2,637ms 1,500ms 1,500ms 4 (352ms) 0

/compare/kahoot-for-pub-quiz 458ms 2,620ms 1,532ms 1,532ms 3 (269ms) 0

Four things in that table are worth more than the rest.

TTFB is not a variable

Every page, both conditions, answered its first byte in 20 to 27 milliseconds.…

Continue reading — create a free account

Join HashtagPLUS to read full articles, follow hashtags, vote, and join the conversation.