mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-09-06 17:51:34 +02:00
* First cut * Temporarily disable composer.json for netlify build * POC * New recursive directory query, various refinements * Fix flexbox * new styled components plugin * Apply frontmatter delimiters * Mobile styles, animation * Search * Redesign, clean up * Nuke the cache, try again * fix file casing * Remove production env file * ID headers * Move app to new repo * Add frontmatter universally * Hide children changelogs * Add how to title * New callout tags * Revert inline code block change * Replace note callouts * Fix icons * Repalce images * Fix icon * Fix image links * Use proper SQL icon
1.9 KiB
1.9 KiB
title | summary |
---|---|
Built-in Middleware | Middleware components that come with SilverStripe Framework |
Built-in Middleware
SilverStripe Framework has a number of Middleware components. You may find them in the SilverStripe\Control\Middleware namespace.
Name | Description |
---|---|
AllowedHostsMiddleware | Secures requests by only allowing a whitelist of Host values |
CanonicalURLMiddleware | URL normalisation and redirection |
ChangeDetectionMiddleware | Change detection via Etag / IfModifiedSince headers, conditionally sending a 304 not modified if possible. |
ConfirmationMiddleware | Checks whether user manual confirmation is required for HTTPRequest |
ExecMetricMiddleware | Display execution metrics in DEV mode |
FlushMiddleware | Triggers a call to flush() on all Flushable implementors |
HTTPCacheControlMiddleware | Controls HTTP response cache headers |
RateLimitMiddleware | Access throttling, controls HTTP Retry-After header |
SessionMiddleware | PHP Session initialisation |
TrustedProxyMiddleware | Rewrites headers that provide IP and host details from upstream proxies |
URLSpecialsMiddleware | Controls some of the URL special variables |