Skip to content

Conversation

@bjohansebas
Copy link
Member

Summary
cacheImmutablebecomestrue` by default, which seems pretty good to me.

What kind of change does this PR introduce?

feat

Did you add tests for your changes?

yes

Does this PR introduce a breaking change?

yes

If relevant, what needs to be documented once your changes are merged or what have you already documented?

@codecov
Copy link

codecov bot commented Jan 19, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 95.86%. Comparing base (99fc677) to head (4e0bb32).

Additional details and impacted files
@@            Coverage Diff             @@
##             next    #2247      +/-   ##
==========================================
+ Coverage   95.83%   95.86%   +0.03%     
==========================================
  Files          13       13              
  Lines         888      895       +7     
  Branches      259      264       +5     
==========================================
+ Hits          851      858       +7     
  Misses         37       37              

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

if (cacheControl.immutable) {
if (cacheControl.immutable !== false && hasCacheImmutable) {
cacheControlValue += ", immutable";
}
Copy link
Member

Choose a reason for hiding this comment

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

Can we refactor this place? Convert boolean/number/string to object value to avoid logic duplication?

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

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants