Blazor static asset delivery and fingerprinting#33010
Conversation
We don't expect the compiler feature to get implemented for .NET 9. |
|
In that case, I'll add the updates tomorrow morning well before release. |
|
@javiercn @danroth27 @mkArtakMSFT ... I'm not 100% sure if HREFs are changing for RCLs with the new static file delivery optimizations ... e.g. ... <link href="_content/ComponentLibrary/additionalStyles.css" rel="stylesheet" />... to ... <link href="@Assets["_content/ComponentLibrary/additionalStyles.css"]" rel="stylesheet" />I assume that's correct. If I don't hear back, I'll just check on this in a few hours with Pre6 release bits and make a quick set of separate updates if needed to revert this set of updates.
UPDATE: False alarm ... versioning isn't bad this time 😅. However, I'm adding a summary section on |
|
UPDATE: Not a problem after all. I can use article versioning. I'll leave the new summary section in the Static Files article tho. I think that's good to keep. |
About the last paragraph. This works for Server and Webassembly, the main difference is hosted vs standalone applications. |
UPDATE: No worries on this. Turns out that versioning in the articles will be fine for these updates 👍. |
Fixes #33005
Addresses #32960
Addresses #31909
I still need to go through the full doc set and add/version thehrefs for static assets. However, should I just wait until the tilde-slash (~/) feature is implemented for the compiler before doing that? I think there might be like ... mmmmm 🤔 ... 50 or so spots to update. I'd like to wait and hit them on one pass if the~/feature will be implemented soon.The compiler feature won't make .NET 9. I'm versioning
hrefs on this PR.Internal previews
Toggle expand/collapse