font/woff2
fontThe MIME type for WOFF2 web fonts. WOFF2 (Web Open Font Format 2.0, W3C 2018) is the modern web font format with 30% better compression than WOFF. Supported by all modern browsers. Used in CSS @font-face declarations for web font loading.
Details
font/woff2 is registered by RFC 8081 (2017) and defined by the W3C WOFF2 specification.
Web font delivery: @font-face { font-family: 'MyFont'; src: url('font.woff2') format('woff2'), url('font.woff') format('woff'); // fallback }
Compression: WOFF2 uses Brotli compression, ~30% smaller than WOFF (which uses zlib).
Browser support: all modern browsers (Chrome 36+, Firefox 39+, Safari 12+, Edge 14+).
CORS: web fonts require proper CORS headers when loaded cross-origin. Serve with Access-Control-Allow-Origin header if hosting fonts on a CDN different from the page domain.
Subsetting: reduce WOFF2 file size by subsetting to only the Unicode characters you use (Google Fonts does this automatically via the text= parameter).
Common use
Web font delivery via CSS @font-face