-
Notifications
You must be signed in to change notification settings - Fork 1.1k
[StaticWebAssets] Use property for original resource #50420
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Conversation
This PR is targeting |
8ee2eac
to
e0067d0
Compare
Thanks for your PR, @@javiercn. |
7bb21fc
to
e52060c
Compare
src/StaticWebAssetsSdk/Targets/Microsoft.NET.Sdk.StaticWebAssets.Compression.targets
Outdated
Show resolved
Hide resolved
…ts.Compression.targets Co-authored-by: Marek Fišera <mara@neptuo.com>
/backport to release/10.0.1xx-rc2 |
Started backporting to release/10.0.1xx-rc2: https://github.com/dotnet/sdk/actions/runs/17157606855 |
@javiercn an error occurred while backporting to "release/10.0.1xx-rc2", please check the run log for details! Error: The specified backport target branch "release/10.0.1xx-rc2" wasn't found in the repo. |
test/TestAssets/TestProjects/WatchRazorWithDeps/RazorApp/RazorApp.csproj
Outdated
Show resolved
Hide resolved
/backport to release/10.0.1xx-rc1 |
Started backporting to release/10.0.1xx-rc1: https://github.com/dotnet/sdk/actions/runs/17158173348 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Copilot encountered an error and was unable to review this pull request. You can try again by re-requesting a review.
/backport to release/10.1xx |
Started backporting to release/10.1xx: https://github.com/dotnet/sdk/actions/runs/17174844908 |
@javiercn an error occurred while backporting to "release/10.1xx", please check the run log for details! Error: The specified backport target branch "release/10.1xx" wasn't found in the repo. |
/backport to release/10.0.1xx |
Started backporting to release/10.0.1xx: https://github.com/dotnet/sdk/actions/runs/17174854533 |
We were attaching a weak ETag to compressed resources. We removed it as part of a fix because it was causing issues with some HTTP Clients, but we were using it during development to match a compressed resource with its original representation.
This fix removes the usage of the weak ETag for 10.0 and onwards (9.0 will still emit the weak ETag for backwards compatibility) and 10.0 will instead use an
original-resource
endpoint property for the matching.