#performance

  • Optimization Techniques
    Techniques and lessons learned for tuning a local in-memory cache synchronized by Redis Pub/Sub, covering serialization, native HTTP, ETags, eviction, race conditions, and pod lifecycle.
  • Defer Async Inline
    Explains how browsers execute inline, `defer`, `async`, and module scripts, and when to choose each for page performance and correct execution order.
  • Cache Aside Pattern
    Explains how to load data into a cache on demand from a data store, and how to invalidate entries on update to keep the cache consistent, with a .NET example.
  • Materialized View Pattern
    Explains generating prepopulated, read-only views over source data to speed up complex queries, with event-driven or scheduled refresh and eventual-consistency trade-offs.
  • Case Study Quick Win Optimization
    Two real-world case studies showing how tiny changes, such as reordering one line of code and moving CORS headers to Cloudflare, cut CPU by 70% and data transfer by 63% on high-traffic systems.