YetaWF.Core.CssHttpHandler
The YetaWF.Core.CssHttpHandler assembly/package processes HTTP requests to serve all CSS files that are requested by URL.
The HTTP handler is implemented as middleware.
CSS files from the /VaultPrivate folder are also served, even though this folder is not part of the website.
CSS files in the /VaultPrivate folder are mapped into the website using this CSS HTTP handler.
CSS files are cached by the HTTP CSS handler and the HTTP CSS handler adds ETag and Last-Modified headers for caching support and honors the If-None-Match header of incoming requests.
The HTTP handler honors the settings Application.P.StaticFiles.Duration (AppSettings.json) which determines caching duration.
The HTTP CSS handler is implemented by the YetaWF.Core.HttpHandler.CssHttpHandler class.
See Also YetaWF.Core