Cloudflare's reference for serving static files from a Worker
Read this next to our news piece on Workers and Pages. Static files upload with the Worker, a request that matches a file is served without running any Worker code, and the page covers single-page app fallbacks, custom 404 pages and run_worker_first for the paths where your code should go first.