- Issue created by @ankitasharma13
- Status changed to Closed: won't fix
over 1 year ago 8:15am 17 October 2023 - 🇬🇧United Kingdom mcdruid 🇬🇧🇪🇺
For posterity, seckit can only emit headers for responses that Drupal handles.
Static assets such as CSS/JS and images will often be served directly by webservers (e.g. apache or nginx) without Drupal/PHP being involved.
If you want to emit customised headers with static files, you may need to configure your webserver to do that. For example, perhaps with rules in a .htaccess file or similar.
The implementation details will vary depending on different hosting configurations, and are outside the scope of the seckit project.
Many of the headers that seckit manages are less relevant to static assets.