Rack-based static web server with built-in preprocessing