Re:Smartphone Mkt to Decline 13% in '26, Largest Drop Ever D...
by deaddodo on Thursday February 26, 2026 @06:19PM
(#47173620)
It's the js that does it, because so many webpages are terribly optimized to integrate aggressive ad waterfalls into them. Or have persistent SPA framework's doing continually scope checks.
That being said, there's no reason the Safari context shouldn't be able to suspend the JS and simply resume when the context is brought back to the foregrown. It's already sandboxed, just stop scheduling JS execution for that sandbox.
Re:Smartphone Mkt to Decline 13% in '26, Largest Drop Ever D...
by HerbManic on Friday February 27, 2026 @01:28AM
(#47177234)
Sorr of related. On my laptop running linux, Firerox with youtube will get progressively slower if you keep sleeping and waking up the laptop. It is as though the JS is struggling to keep up with adjusting to the suspend and wake cycle. This never happened on Windows/macos systems so it could just be a linux thing.
Re:Smartphone Mkt to Decline 13% in '26, Largest Drop Ever D...
by crowfunder on Friday February 27, 2026 @06:54AM
(#47179500)
I've encountered the exact same issue. What helped me somewhat, at least with the video playback, is opening videos in embed player.
I coded an extension that adds a context menu for opening videos in embed mode. https://addons.mozilla.org/pl/firefox/addon/youtube-open-as-...
Re:Smartphone Mkt to Decline 13% in '26, Largest Drop Ever D...
by ibejoeb on Thursday February 26, 2026 @05:59PM
(#47173335)
Obviously it depends on what you're consuming, but popular sites are rarely static web pages.
Safari suspends backgrounded tabs. I think that's what we're observing here rather than strictly memory pressure.
Re:Smartphone Mkt to Decline 13% in '26, Largest Drop Ever D...
by LtWorf on Thursday February 26, 2026 @05:56PM
(#47173296)
Web pages that make sense are mostly static. But these days articles need to load each paragraph dynamically, so in order to save 3kb in case you wouldn't finish the article you need to download 5mb of js to do that, plus a bunch of extra handshakes.
I remember on Android I dont recall the app name specifically, but it would let me download any website for offline browsing or something, would use it when I knew I might have no internet like a cruise.
Heck there used to be an iOS client for HN that was defunct after some time, but it would let you cache comments and articles for offline reading.