silverstripe-framework/docs/en/02_Developer_Guides/02_Controllers/06_Builtin_Middlewares.md
Michael Pritchard fdbd899766 DOC Update SilverStripe to Silverstripe CMS
- 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
2021-07-30 13:54:15 +01:00

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