---
title: "Discussion on \"Why I Replaced Headless Chrome With Pure HTTP Pipelines (Cut RAM From 600MB to 75MB in Production)\" | Hashnode"
description: "Discussion on \"Why I Replaced Headless Chrome With Pure HTTP Pipelines (Cut RAM From 600MB to 75MB in Production)\". If you have ever deployed Playwright or Puppeteer scrapers into small cloud containers, you already know the painful pattern: a single Chromium instance eats 350–800 MB of RAM, cold starts take 4–10 s"
url: "https://hashnode.com/posts/why-i-replaced-headless-chrome-with-pure-http-pipelines-cut-ram-from-600mb-to-75mb-in-production/6b0f9a4dcef33be845772788"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [Why I Replaced Headless Chrome With Pure HTTP Pipelines (Cut RAM From 600MB to 75MB in Production)](https://hainam-intel.hashnode.dev/why-i-replaced-headless-chrome-with-pure-http-pipelines-cut-ram-from-600mb-to-75mb-in-production?utm_source=hashnode&utm_medium=feed)

If you have ever deployed Playwright or Puppeteer scrapers into small cloud containers, you already know the painful pattern: a single Chromium instance eats 350–800 MB of RAM, cold starts take 4–10 s

1d ago · 3 min read · hainam-intel.hashnode.dev  
Read the article

-   [#python](https://hashnode.com/tag/python)
-   [#fastapi](https://hashnode.com/tag/fastapi)
-   [#webscraping](https://hashnode.com/tag/webscraping)
-   [#architecture](https://hashnode.com/tag/architecture)

## Written by

[Hai Nam](https://hashnode.com/@chimsedinang94)

@chimsedinang94

  
[View profile](https://hashnode.com/@chimsedinang94)

## Responses 1

Markdown supported · ⌘↵ to post

[OnlineProxy](https://hashnode.com/@onlineproxyio)

[19h ago](https://hashnode.com/posts/why-i-replaced-headless-chrome-with-pure-http-pipelines-cut-ram-from-600mb-to-75mb-in-production/6b0f9a4dcef33be845772788/comment/6b10585b342a0181137ce6d0)

yeah is\_loopback just doesn't catch IPv4 mapped stuff on anything pre 3.13 so i'd go with if not ip.is\_global and call it a day

also keep redirects off, a 302 to 169.254.169.254 gets right past the check and people forget that part. shopify is fine with limit=250 but I stop on an empty page, not a short one, cause some stores randomly give you short pages in the middle
