Improve static server.

Use handler generated key instead of request path as etag cache key.
This allows a single handler to be used efficiently for multiple paths.