Pre-Generate Error Pages
Static pages for errors (404, 410, etc.) should be pre-generated by the backend at startup and supplied to the frontend, which MUST use them.
Reasoning
Dynamically generated error pages in WP occasionally leak information, for instance user information can still be obtained when using a plugin to block user enumeration.