Skip to content

Conversation

@wyattwalter
Copy link
Contributor

Description

Tip

Add a TL;DR when the description is longer than 500 words or extremely technical (helps the content, marketing, and DevRel team).

Please also include relevant motivation and context. List any dependencies that are required for this change. Add links to Notion, Figma or any other documents that might be relevant to the PR.

Disable precompressed directive in Caddy temporarily. This is to cause Caddy to serve static files with a 200 instead of a 206 due to a change in behavior in Caddy 2.10.2.

The 206 response is causing rate limit issues in some installs, and failed upgrades in others when folks use an HTTP request to / for health checks. It also causes browsers to not validate files correctly, so we make a lot of extra requests to the server.

There's 2 options to address it:

  • Downgrade Caddy, which introduces a few 3 month old high CVEs via the Golang toolchain
  • Disable precompressed directive and let Caddy compress the files on the fly during requests

There's a fix in the default branch of Caddy for this issue, we're just waiting for a release.

Fixes #41313

Warning

If no issue exists, please create an issue first, and check with the maintainers if the issue is valid.

Automation

/ok-to-test tags=""

🔍 Cypress test results

Caution

If you modify the content in this section, you are likely to disrupt the CI result for your PR.

Communication

Should the DevRel and Marketing teams inform users about this change?

  • Yes
  • No

@github-actions github-actions bot added Bug Something isn't working Medium Issues that frustrate users due to poor UX Production labels Nov 5, 2025
@coderabbitai
Copy link
Contributor

coderabbitai bot commented Nov 5, 2025

Important

Review skipped

Draft detected.

Please check the settings in the CodeRabbit UI or the .coderabbit.yaml file in this repository. To trigger a single review, invoke the @coderabbitai review command.

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

✨ Finishing touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Post copyable unit tests in a comment
  • Commit unit tests in branch ww-caddy-disble-precompressed-directive

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Bug Something isn't working Medium Issues that frustrate users due to poor UX Production

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Bug]: Requests being rate limited by default

1 participant