-
-
Notifications
You must be signed in to change notification settings - Fork 421
Open
roadrunner-server/static
#126Labels
C-feature-acceptedCategory: Feature discussed and acceptedCategory: Feature discussed and accepted
Description
Plugin
HTTP Middleware (any)
I have an idea!
it would be cool if static HTTP middleware have option immutable - so when turned on - it would scan all files in root dir on startup and cache their properties in memory, so with that option roadrunner won't need Static HTTP middleware slows down request processing by ~10% because RR has to check each request for the corresponding file.
thus enabling static http middleware, will have zero performance impact. Furthermore it can be used to send https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Cache-Control immutable option.
Because some projects may run inside docker with read-only filesystem, so roadrunner can be 100% sure that files WON'T change after startup.
Metadata
Metadata
Assignees
Labels
C-feature-acceptedCategory: Feature discussed and acceptedCategory: Feature discussed and accepted
Type
Projects
Status
📋 Backlog
