The Performance Cost of CORS in Single-Page Applications
How CORS preflight requests add latency to cross-origin APIs, why URL-specific preflight caching may not help, and what SPA designers should consider.
9 articles
How CORS preflight requests add latency to cross-origin APIs, why URL-specific preflight caching may not help, and what SPA designers should consider.
Build a minimal token-based single sign-on flow in Node.js, covering redirects, global and local sessions, consumer validation, and single sign-off.
Compare ordinary parameters with object destructuring in Node.js through V8 bytecode, heap usage, garbage collection, and microbenchmarks.
Reimplement JavaScript's call(), apply(), and bind() to understand this binding, variable arguments, return values, constructor behavior, and edge cases.
Build the ideas behind React step by step: reusable components, state, setState, declarative rendering, and efficient DOM updates.
Build a small Express-like framework in Node.js, starting with an HTTP server and GET routes, then adding Router, Route, and Layer abstractions.
How JavaScript's prototype chain works, how constructor prototype properties differ from object [[Prototype]] links, and how inheritance resolves properties.
How Node.js stores and transmits binary data with Buffer, including allocation APIs, memory behavior, performance, and the internal 8 KB slab pool.
Why setTimeout(0) and setImmediate() can run in either order, explained through Node.js event-loop phases, libuv, clock updates, and process timing.