Error Pages
AWS CloudFront provides very basic error pages which don't represent the application which they are serving.
Skpr provides development teams with the ability to deploy custom pages for both client and server errors.
Usage
Developers are able to configure custom error pages for:
- Client - 4xx responses e.g.
Page Not Found
orAccess Denied
. - Server - 5xx responses e.g.
Internal Server Error
orService Unavailable
.
Custom error pages will be cached by a user defined period of time (see below). Caching error pages can help in high traffic scenarios and avoid stampeding.
ingress:
errorPages:
client:
path: /4xx.html
# Cache this response for 15 seconds.
cache: 15
server:
path: /5xx.html
cache: 15