Preload, caching and the brotli story for the frozen file.

Setup#

html
<link rel="preload" as="style"
  href="https://cdn.jsdelivr.net/gh/nakshora/nakshora@main/minified-version/v1.0.0.css" />
<link rel="stylesheet"
  href="https://cdn.jsdelivr.net/gh/nakshora/nakshora@main/minified-version/v1.0.0.css" />

Notes#

  • jsDelivr serves brotli automatically
  • Add crossorigin only if you also use SRI
Note. The v1 file is immutable — cache it aggressively (immutable + max-age=31536000).