Allow caching error pages (404 etc.)

Created on 14 May 2016, over 8 years ago
Updated 12 July 2023, over 1 year ago

For sites that come under heavy load, e.g. DDoS, it's important to offload pages with an error status (404, etc.) to the CDN.

Currently Fastly module makes these pages uncacheable: drupal_add_http_header('Surrogate-Control', 'no-store');

It would be nice to have an option to turn off that no-store header so Fastly can fall back to the Cache-Control header (which the Drupal site might already be sending).

✨ Feature request
Status

Closed: outdated

Version

2.0

Component

Code

Created by

πŸ‡ΊπŸ‡ΈUnited States mfb San Francisco

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

Production build 0.71.5 2024