Skip to content

Don't set Cache-Control header for git archives

Ahmad Sherif requested to merge drop-overriding-cache-control-for-archives into master

Rails already sets Cache-Control according to the project visibility. Always setting the header value to private prevents us from doing proper caching (e.g. at CDN level) for public projects.

Related to https://gitlab.com/gitlab-com/gl-infra/infrastructure/issues/6829

Edited by Ahmad Sherif

Merge request reports