[Static Web Assets] Define mechanism to fingerprint an asset relative path and generate new endpoints for it. #54874
Labels
area-blazor
Includes: Blazor, Razor Components
enhancement
This issue represents an ask for new feature or an enhancement to an existing one
feature-static-web-assets
Milestone
For example, fingerprinting a file is specified as
_path/to/file[.{fingerprint}].ext
[.{fingerprint}]
is a replacement expression that indicates where the fingerprint needs to go and what other literals (very much like complex segments) need to be applied when the fingerprint is used, so that the final result can befile.fingerprint.extension
orfile.extension
. We don't make any assumption on where the fingerprint or its format needs to be.{fingerprint}
in the relative path is used through the pipeline to identify what endpoints to define and their paths.?
as for example_path/to/file[.{fingerprint}]?.ext
to mean the following:Whenever we need to use the endpoints, we resolve the fingerprint based on the asset to compute the final paths for files and routes for endpoints.
The text was updated successfully, but these errors were encountered: