# Reckoning: Part 2 -- Object Lesson

DevFeed: [Reckoning: Part 2 -- Object Lesson](<https://devfeed.tech/articles/reckoning-part-2-object-lesson-26545.md>)

Original publisher: [Read original article](<https://infrequently.org/2024/08/object-lesson/>)

Author: Alex Russell

Published: 2024-08-13T00:00:00Z

Content type: article

Language: en

Sources: [Alex Russell](<https://devfeed.tech/sources/alex-russell.md>)

Topics: [Core Web Vitals](<https://devfeed.tech/topics/core-web-vitals.md>), [Web](<https://devfeed.tech/topics/web.md>), [Cache](<https://devfeed.tech/topics/cache.md>), [Chromium](<https://devfeed.tech/topics/chromium.md>)

Tags: [build](<https://devfeed.tech/tags/build.md>), [california](<https://devfeed.tech/tags/california.md>), [chrome](<https://devfeed.tech/tags/chrome.md>), [code](<https://devfeed.tech/tags/code.md>), [comparison](<https://devfeed.tech/tags/comparison.md>), [contentful](<https://devfeed.tech/tags/contentful.md>), [core-web-vitals](<https://devfeed.tech/tags/core-web-vitals.md>), [devices](<https://devfeed.tech/tags/devices.md>), [food](<https://devfeed.tech/tags/food.md>), [interactive](<https://devfeed.tech/tags/interactive.md>), [interfaces](<https://devfeed.tech/tags/interfaces.md>), [javascript](<https://devfeed.tech/tags/javascript.md>), [performance](<https://devfeed.tech/tags/performance.md>), [posts](<https://devfeed.tech/tags/posts.md>), [public-sector](<https://devfeed.tech/tags/public-sector.md>), [real-world](<https://devfeed.tech/tags/real-world.md>), [series](<https://devfeed.tech/tags/series.md>), [snap](<https://devfeed.tech/tags/snap.md>), [trace](<https://devfeed.tech/tags/trace.md>), [us](<https://devfeed.tech/tags/us.md>), [users](<https://devfeed.tech/tags/users.md>), [webdev](<https://devfeed.tech/tags/webdev.md>)

## AI overview

The excerpt reports that Code for America's getcalfresh.org lets users begin interacting before BenefitsCal finishes its first of three loading screens. It attributes BenefitsCal's poor experience to a 25 MB JavaScript payload loaded before any content appears, much of it unused on the home page, and to server configuration problems that compound the wait. The excerpt says getcalfresh.org uses a simpler, progressively enhanced, HTML-first architecture for the same account and benefits signup process, drives nearly half of California benefits signups per CalSAWS, and performs substantially better in the comparison. It also cautions that BenefitsCal's multiple loading screens can mislead Chrome's Largest Contentful Paint heuristic, so public Core Web Vitals may understate the real-world delay.

## Source excerpt

Other posts in the series: Reckoning: Part 1 -- The Landscape Reckoning: Part 3 -- Caprock Reckoning: Part 4 -- The Way Out Contents The Golden Wait The Truth Is In The Trace Zip It Near Peers Blimey JavaScript Masshattery Maryland Enters The Chat Chattanooga Chug Chug SNAP? In Jersey? Fuhgeddaboudit Hoosier Hospitality Deep Breaths The Golden Wait BenefitsCal is the state of California's recently developed portal for families that need to access SNAP benefits (née "food stamps"):1 BenefitsCal loading on a low-end device over a 9Mbps link with 170ms RTT latency via WebPageTest.org Code for America's getcalfresh.org performs substantially the same function, providing a cleaner, faster, and easier-to-use alternative to California county and state benefits applications systems: getcalfresh.org loading under the same conditions The like-for-like, same-state comparison getcalfresh.org provides is unique. Few public sector services in the US have competing interfaces, and only Code for America was motivated to build one for SNAP applications. getcalfresh.org finishes in 1/3 the time, becoming interactive not long after the BenefitsCal loading screen appears. WebPageTest.org timelines document a painful progression. Users can begin to interact with getcalfresh.org before the first (of three) BenefitsCal loading screens finish (scroll right to advance): & & Google's Core Web Vitals data backs up test bench assessments. Real-world users are having a challenging time accessing the site: BenefitsCal is a poor experience on real phones. But wait! There's more. It's even worse than it looks. The multi-loading-screen structure of BenefitsCal fakes out Chrome's heuristic for when to record Largest Contentful Paint. On low-end devices, BenefitsCal appears to almost load at the 22 second mark, only to put up a second loading screen shortly after. Because this takes so long, Chromium's heuristics for Largest Contentful Paint are thrown off, incorrectly reporting the end of the first loa