Urgent.News

What's breaking now, across thousands of outlets.

More in Tech

How to Add Offline Support to Your Web App (without hand-writing a service worker)

The full walkthrough: one config file, an auditable vanilla-JS service worker + client runtime generated for you, zero runtime dependencies — and a live demo you can test offline right now.

  • Swoff is a config-driven generator for service workers and client runtime
  • Run npx @swoff/cli init && npx @swoff/cli generate to set up offline support
  • Verify offline functionality in browser developer tools

Fat jar vs layered jar; DevTools

Why your Spring Boot app is one runnable file You finish a Spring Boot service, run a single command, and a full web server starts up: java -jar app.jar No Tomcat to install first.

  • Spring Boot service compiled into single runnable file
  • Fat jar and layered jar are two packaging options
  • DevTools speeds up development process

WebSocket Telemetry at Scale: When One Process Isn't Enough

[ EXECUTIVE TEARDOWN // TL;DR ] In-memory broadcast only reaches the local process — multi-instance real-time needs a shared backplane (Redis pub/sub).

  • WebSocket telemetry scales using shared backplane like Redis pub/sub
  • Subscriptions narrowed into rooms reduce bandwidth and CPU
  • Trinity Architecture separates orchestration from payload-lean adapter

More from Saturday 12 September →