Urgent.News

What's breaking now, across thousands of outlets.

Tech

How to add Cloudflare browser rendering to a SaaS without running a browser fleet

A screenshot or PDF endpoint looks small in a product spec: accept a report, render it, return a file. The hidden work is the browser fleet behind that endpoint—launching processes, managing concurrency, waiting for pages, collecting failures, and keeping resource use inside a budget. Cloudflare Browser Run gives a SaaS team a hosted browser service for that rendering step. The practical question…

Cloudflare Browser Run offers a hosted browser service for SaaS rendering needs. To integrate this without running a browser fleet, start with a simple API that fits the job. Choose between Quick Actions for one-shot jobs like screenshots and PDFs, or Browser Sessions for workflows that require interactive browser control. Use Cloudflare's Puppeteer, Playwright, or CDP tooling for automation, but avoid sessions unless necessary.

Determine what browser time is needed to estimate unit economics. Implement the API behind your server, never exposing browser credentials to clients. Build server-owned templates for PDF generation, validate inputs, and block untrusted URLs. Enforce authorization, set page count limits, and use idempotency keys to prevent duplicate work.

Track costs and usage for each job, and monitor performance metrics to adjust pricing and limits as needed.

Written by urgent.news from Dev.to's reporting — not their text. Machine-written — may contain errors; check the original before relying on it.

Read the original at dev.to →

More in Tech

I gave my coding agents a supply-chain tripwire (and a radar)

My coding agents install packages all day. I don't read the names. Do you? Thought not. And that's a problem, because agents are brilliant at a few specific mistakes: they invent package names that…

  • Omnis Watchtower checks npm and PyPI packages before running
  • Sentinel conducts thorough investigation of suspicious packages
  • Free and open-source plugin with real-time safety status radar

Linux from Scratch #1: What is Unix? Why Was It Created?

Before understanding Linux, I realized I first needed to understand Unix. In my previous article, I shared how installing Ubuntu completely changed the way I thought about operating systems.

  • Unix created in 1969 by Ken Thompson and Dennis Ritchie at Bell Labs
  • Unix introduced concepts like simplicity, portability, and multi-user systems
  • Licensing issues led to development of GNU and Linux as alternatives

How to Improve Blogger Website Performance with Practical HTML and CSS Optimizations

How to Improve Blogger Website Performance with Practical HTML and CSS Optimizations A Blogger website can look beautiful and still perform poorly on mobile devices.

  • Measure current website performance with Google PageSpeed Insights targeting Core Web Vitals.
  • Ensure images are responsive by setting max-width to 100% and height to auto.
  • Minimize unused CSS and JavaScript by reviewing template for redundant scripts and styles.

A version record to study the Duraqex documentation

Ao acompanhar a documentação da Duraqex, uso uma pergunta como orientação: outra pessoa conseguiria entender exatamente qual conteúdo sustentou minha nota?

  • Proposes a version record method for Duraqex documentation study
  • Records include URL, page, title, date, version, and changes
  • Helps maintain context when updating analysis with new documents

More from Wednesday 14 October →