Skip to content

Conversation

@joseluisq
Copy link
Collaborator

@joseluisq joseluisq commented Sep 5, 2025

Description

This PR removes public from Cache-Control value, leaving max-age=<VALUE>, which can prevent CDN and Basic Authentication issues. See details on #560.

It applies to the Cache-Control Headers feature with no user breaking changes expected.

Related Issue

Motivation and Context

It resolves #560.

How Has This Been Tested?

Screenshots (if appropriate):

To prevent conflicts with CDN and Authentication

ref: #560
@joseluisq joseluisq added enhancement New feature or request v2 v2 release labels Sep 5, 2025
@semanticdiff-com
Copy link

semanticdiff-com bot commented Sep 5, 2025

Review changes with  SemanticDiff

Changed Files
File Status
  docs/content/features/directory-listing.md Unsupported file format
  docs/content/features/http-methods.md Unsupported file format
  src/control_headers.rs  0% smaller
  tests/compression.rs  0% smaller
  tests/handler.rs  0% smaller

@joseluisq joseluisq merged commit 0b55770 into master Sep 6, 2025
38 checks passed
@joseluisq joseluisq deleted the remove-public-from-cache-control-header branch September 6, 2025 07:20
@joseluisq joseluisq modified the milestones: v2.39.0, v2.38.1 Sep 8, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request v2 v2 release

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Don't force public in Cache-Control header to prevent conflicts with CDN and Authentication

1 participant