Still on Drupal 7? Security support for Drupal 7 ended on 5 January 2025. Please visit our Drupal 7 End of Life resources page to review all of your options.
Initial release of module that contains s-maxage support and custom global caching for 404, 302 and 5xx level.
Note that with 5xx, cache headers can only be set if Drupal is rendering the 5xx response. If a php fatal error occurs, cache headers will not be controlled by this module.