Skip to content
quarry Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: e3b7cd5f7b1d66fa4b5ed70137fd3d7145b15486074f0baa26a3c8ebdf07e69d
Ticket: 93cb0f581661275bd2cdfffd9cd49a8d78aba202
Serve the stylesheet and sprite as cacheable assets instead of inlining them
User & Date: ai-local on 2026-08-31 11:53:49
Changes

  1. Untracked field cmimetype: "text/x-markdown"
  2. comment changed to:
    Every page carries 112,118 bytes of inline <style> and 13,377 bytes of inline SVG sprite — 125,495 bytes, 40% of the 309,584-byte timeline page — byte-identical on every request and, being inline, impossible to cache separately. The JS assets already get Cache-Control: public, max-age=86400; the CSS gets none of that.
    
    Split measured on the timeline page: shared css+sprite 125,495 raw / 23,995 gzipped; page-specific 184,089 raw / 32,898 gzipped.
    
    Serve as /assets/quarry.<contenthash>.css and a sprite asset, immutable with a long max-age. On repeat views that is zero bytes rather than merely fewer, which beats any compression setting.
    
    Scope note: this is the biggest win for ORDINARY navigation and a small one for the heavy pages — the same 125KB is only ~5% of a 2.3MB btree.c page.
    
    Acceptance: pages reference hashed asset URLs; a content change yields a new URL; repeat navigation refetches neither; no flash of unstyled content.
    
  3. priority changed to: "Medium"
  4. severity changed to: "Important"
  5. status changed to: "Open"
  6. subsystem changed to: "web"
  7. title changed to:
    Serve the stylesheet and sprite as cacheable assets instead of inlining them
    
  8. type changed to: "Feature"