@@ -170,8 +170,8 @@ Copyright (c) .NET Foundation. All rights reserved.
170
170
<BrotliCompressionLevel Condition =" '$(_BlazorBrotliCompressionLevel)' != ''" >$(_BlazorBrotliCompressionLevel)</BrotliCompressionLevel >
171
171
172
172
<!-- Attach weak ETag to compressed assets -->
173
- <AttachWeakETagToCompressedAssetsDuringDevelopment Condition =" '$(AttachWeakETagToCompressedAssetsDuringDevelopment )' == '' and $(_TargetingNET100OrLater)' == 'true'" >EndpointProperty</AttachWeakETagToCompressedAssetsDuringDevelopment >
174
- <AttachWeakETagToCompressedAssetsDuringDevelopment Condition =" '$(AttachWeakETagToCompressedAssetsDuringDevelopment )' == '' and $(_TargetingNET100OrLater)' != 'true'" >ResponseHeader</AttachWeakETagToCompressedAssetsDuringDevelopment >
173
+ <LinkAlternativeRepresentationsToOriginalResource Condition =" '$(LinkAlternativeRepresentationsToOriginalResource )' == '' and $(_TargetingNET100OrLater)' == 'true'" >EndpointProperty</LinkAlternativeRepresentationsToOriginalResource >
174
+ <LinkAlternativeRepresentationsToOriginalResource Condition =" '$(LinkAlternativeRepresentationsToOriginalResource )' == '' and $(_TargetingNET100OrLater)' != 'true'" >ResponseHeader</LinkAlternativeRepresentationsToOriginalResource >
175
175
</PropertyGroup >
176
176
177
177
<PropertyGroup >
@@ -254,7 +254,7 @@ Copyright (c) .NET Foundation. All rights reserved.
254
254
<ApplyCompressionNegotiation
255
255
CandidateEndpoints =" @(StaticWebAssetEndpoint)"
256
256
CandidateAssets =" @(_CompressionCurrentProjectBuildAssets)"
257
- AttachWeakETagToCompressedAssets =" $(AttachWeakETagToCompressedAssetsDuringDevelopment )"
257
+ AttachWeakETagToCompressedAssets =" $(LinkAlternativeRepresentationsToOriginalResource )"
258
258
>
259
259
<Output TaskParameter =" UpdatedEndpoints" ItemName =" _UpdatedCompressionBuildEndpoints" />
260
260
</ApplyCompressionNegotiation >
@@ -379,7 +379,7 @@ Copyright (c) .NET Foundation. All rights reserved.
379
379
<ApplyCompressionNegotiation
380
380
CandidateEndpoints =" @(StaticWebAssetEndpoint)"
381
381
CandidateAssets =" @(_CompressionCurrentProjectPublishAssets)"
382
- AttachWeakETagToCompressedAssets =" $(AttachWeakETagToCompressedAssetsDuringDevelopment )" >
382
+ AttachWeakETagToCompressedAssets =" $(LinkAlternativeRepresentationsToOriginalResource )" >
383
383
<Output TaskParameter =" UpdatedEndpoints" ItemName =" _UpdatedCompressionPublishEndpoints" />
384
384
</ApplyCompressionNegotiation >
385
385
0 commit comments