mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-09-06 17:51:34 +02:00
fdbd899766
- Remaining Developer Guides and Upgrading - SilverStripe in a namespace or api has not been change - To keep PRs easier no formatting was changed Update merge conflics with two files Update Silverstripe Ltd, Silverstripe Cloud and Silverstripe CMS Silverstripe CMS Ltd > Silverstripe Ltd Silverstripe CMS Platform > Silverstripe Cloud Silverstripe CMS Framework > Silverstripe CMS Resolve merge conflict Remove Framework from Silverstripe CMS Framework - 3 files Change SilverStripe CMS to Silverstripe CMS
1.9 KiB
1.9 KiB
title | summary |
---|---|
Built-in Middleware | Middleware components that come with Silverstripe CMS |
Built-in Middleware
Silverstripe CMS 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 |