Skip to content

[WIP]キャッシュ検証用のHTTPヘッダを伝搬させる#51

Open
lobin-z0x50 wants to merge 3 commits intomasterfrom
feature/propergate-cache-header-for-upstream
Open

[WIP]キャッシュ検証用のHTTPヘッダを伝搬させる#51
lobin-z0x50 wants to merge 3 commits intomasterfrom
feature/propergate-cache-header-for-upstream

Conversation

@lobin-z0x50
Copy link
Copy Markdown
Member

  • 動作検証

proxy_read_timeout をデフォルト 600にセット
@lobin-z0x50 lobin-z0x50 requested a review from Copilot May 30, 2025 02:10
Copy link
Copy Markdown

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This PR introduces caching header propagation in the HTTP and HTTPS configuration templates to aid in cache verification.

  • Added a configurable proxy_read_timeout based on an environment variable.
  • Propagated HTTP cache validation headers (If-None-Match, If-Modified-Since).
  • Added a header to relay backend cache hit status (X-Cache-Status).

Reviewed Changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated 2 comments.

File Description
src/app/config_template_https.erb Updated to include caching-related HTTP headers and timeout configuration.
src/app/config_template_http.erb Updated to include caching-related HTTP headers and timeout configuration.

Comment thread src/app/config_template_https.erb Outdated
Comment thread src/app/config_template_http.erb Outdated
lobin-z0x50 and others added 2 commits May 30, 2025 21:37
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants