Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion docker/nginx/includes/content/_cache.conf
Original file line number Diff line number Diff line change
@@ -1,8 +1,9 @@
# location {} settings for /content caching
# used by files in this directory, via `include` directive

# ignore cache-control from upstream so this value is authoritative
# ignore 'expires' and 'cache-control' headers from upstream so this value is authoritative
proxy_hide_header Cache-Control;
proxy_hide_header Expires;

# content is md5-addressed, so cache aggressively for successful responses
add_header Cache-Control "public, max-age=31536000, immutable, no-transform";
Loading