Directories
¶
| Path | Synopsis |
|---|---|
|
Access logging: one structured record per request, with your own fields.
|
Access logging: one structured record per request, with your own fields. |
|
Caching on two layers: client caching headers and server-side response caching.
|
Caching on two layers: client caching headers and server-side response caching. |
|
Conditional middleware: a debug bundle that runs only when the request asks for it.
|
Conditional middleware: a debug bundle that runs only when the request asks for it. |
|
CORS: allowed origins, answered preflights and a JSON body for rejected origins.
|
CORS: allowed origins, answered preflights and a JSON body for rejected origins. |
|
Middleware that returns an error instead of writing a response.
|
Middleware that returns an error instead of writing a response. |
|
Internationalization: one message catalog, one language per request.
|
Internationalization: one message catalog, one language per request. |
|
Rate limiting: token buckets per authenticated principal, with Retry-After on rejection.
|
Rate limiting: token buckets per authenticated principal, with Retry-After on rejection. |
|
Request IDs: one identifier per request, in the response header and the logs.
|
Request IDs: one identifier per request, in the response header and the logs. |
|
Writing your own middleware: a timing factory and two guards, each registered where its scope belongs.
|
Writing your own middleware: a timing factory and two guards, each registered where its scope belongs. |
Click to show internal directories.
Click to hide internal directories.