Skip to content

Lazy = fast

The goal of this patch is to remove the file index.

The server currently maintains a map (index) of all files in memory. Ostensibly this accelerates file lookups. Unfortunately this index imposed complexity and other performance costs.

This patch implements a "request resolver" pattern, where different plugins can handle HTTP requests. The immediately useful plugins are for lookups using a file system (local development) and an HTTP upstream cache (CDN).

Merge request reports