Skip to content
crocodillon.

From the field notes

Performance.

Loading, caching, and making the wait a little shorter.

2 articles

Performance articles

  1. Stale-while-revalidate caching with RxJS

    Build a shareLast operator that shares requests, remembers the last response, and replays it while refreshing. Compare it with share and shareReplay.

    9 min read
  2. Non-blocking web fonts using LocalStorage

    You want custom web fonts, but without the performance drawback? Read how to use a simple script to load base64 encoded web fonts in a non-blocking way and cache them in LocalStorage.