Skip Images and Fonts in Puppeteer to Speed Up Headless Loads
Reduce Puppeteer bandwidth and load time by aborting image, stylesheet, and font requests with request interception.
ReadMeFeed / Community knowledge
Real questions. Useful conversations. Find the people who know your stack.
Reduce Puppeteer bandwidth and load time by aborting image, stylesheet, and font requests with request interception.
Launch one Chromium instance and create a BrowserContext per session to isolate cookies, storage and permissions for parallel scraping or testing without paying launch overhead per user.
Compare Behance API v2, oEmbed, and scraping for embedding portfolio projects. Covers rate limits, auth, image URL lifetimes, CSP impact, and provides ready‑to‑run curl/Playwright examples.
Learn how to diagnose and resolve 'TimeoutError: Navigation timeout exceeded' in Puppeteer by analyzing network idle states, blocking third-party scripts, and optimizing wait strategies.
Learn how to use Puppeteer's Request Interception to block unnecessary assets, reduce bandwidth costs, and speed up headless browser execution.
Learn how async/await lets a single Python thread handle many network requests concurrently, with a concrete web‑scraping example and practical guidance on trade‑offs.
Puppeteer's request interception can block images, fonts, and trackers to cut bandwidth and runtime in scraping and CI — if you resolve every request and measure the actual savings.
Use Puppeteer's request interception to abort images, fonts, and trackers, cutting scrape time and bandwidth — with a worked example, mocking via request.respond(), and the failure modes to watch for.
A decision guide for choosing Puppeteer waiting primitives in CI. Compare waitForSelector, waitForFunction, and waitUntil for speed and stability to reduce flaky data extraction.