Tech
[程序员] geek-five-layer-throttling-stack
Five Layers of Chrome's Tab Throttling, and a Fix for Each
Here's a bug report every scraping engineer meets eventually: "The scraper gets 20 items from an infinite-scroll feed, then stops. Works fine when I watch the tab. Broken when it's in the background." The usual responses — add waits, add scrolls, retry harder — fail, because the failure isn't in your code. It's in Chrome's architecture , which is quietly hostile to background-tab work in at least five distinct ways. Scrapewright c...
Read the full discussion on V2EX
This article was aggregated from V2EX. Click to join the conversation.
View on V2EX