Sam Gammon
01/25/2023, 7:34 PMview-source
to see it working!)
✅ Nearly perfect WebPageTest score
✅ Excellent Core Web Vitals
✅ Builds to a native amd64 binary
✅ Dynamic caching of SSR output
✅ Pre-compressed Brotli and Gzip SSR
✅ Profile-Guided Optimization (PGO) with GraalVM EE
✅ CDN with CloudFlare
✅ Modern image formats (webp, avif)
✅ Favicon that automatically changes based on dark/light mode
✅ Alpine (musl
)-based binary and Docker image, in static mode
Security
✅ CORP, COEP, CSPv3
✅ Very strong CSP
✅ Script and source nonce sharing with JS VM
✅ A+ TLS rating
✅ Full suite of security headers
✅ DNSSEC
Dev
✅ Builds as single optimized amd64 native binary
✅ Alpine-based Docker image (<http://us-docker.pkg.dev/elide-fw/app/site:latest|us-docker.pkg.dev/elide-fw/app/site:latest>
if you want to try it out)
✅ Support for MDX via KotlinJS (very quick builds for site content)
✅ Plug-in support for customized esbuild
(for SSR target)FROM scratch
image which only contains the application binary, there is no Linux kernel -- so the app's UI, JavaScript, CSS, images, and Kotlin server code are all packaged into one runnable unit.
✅ 0 detectable vulnerabilities in Docker image
✅ Built with Alpine Linux, GraalVM
✅ Completely static binary (FROM scratch
)
✅ Size: 137.3MB (!)