Journal
Thoughts, theories, and deep dives into software engineering and cybersecurity.
Security Boundaries in the Browser: Same-Origin Policy, CORS, and Origin Isolation
Browser security boundaries—same-origin policy, CORS, and origin isolation—define what web apps can access and where dat...
IndexedDB Internals and Practical Patterns for Offline-First Applications
A focused deep dive into IndexedDB internals and practical offline-first patterns. Explains transaction semantics, stora...
Service Workers: Lifecycle, Update Algorithms, and Reliable Background Sync
Practical guide to service worker lifecycle, cache-update algorithms, and robust background sync strategies for progress...
WebAssembly Integration: Loading, Instantiation, and Interop with JavaScript Engines
Practical guide to loading and instantiating WebAssembly modules and creating robust JS–Wasm interop. Covers common patt...
Optimistic UI and Reconciliation: Minimizing Layout Thrash When Updating the DOM
Practical techniques for combining optimistic UI updates with reconciliation strategies to reduce layout thrash and impr...
How Browsers Implement Feature Detection and Shipping: Origin Trials, Flags, and Compatibility
Browsers use origin trials, runtime flags, and feature detection to roll out APIs safely while preserving web compatibil...
Analyzing Network Waterfall Traces: From Request Timing to Bottleneck Diagnosis
Practical guide to reading network waterfall traces, linking per-request timing to root-cause bottlenecks in client, CDN...
Implementing Accessible, Keyboard-Navigable Components Without Breaking Browser Semantics
Practical strategies for building keyboard-first, accessible UI components that preserve browser semantics and assistive...
Concurrency Models in the Browser: Workers, SharedArrayBuffer, Atomics, and Deadlock Pitfalls
Practical guide to browser concurrency: when to use Workers, SharedArrayBuffer and Atomics, common deadlock patterns and...