Version 4
end of life
This version of Silverstripe CMS will not recieve any additional bug fixes or documentation updates.
Go to documentation for the most recent stable version.
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 |