-
Notifications
You must be signed in to change notification settings - Fork 10.5k
Closed as not planned
Labels
✔️ Resolution: DuplicateResolved as a duplicate of another issueResolved as a duplicate of another issuePillar: Technical Debtarea-blazorIncludes: Blazor, Razor ComponentsIncludes: Blazor, Razor ComponentsenhancementThis issue represents an ask for new feature or an enhancement to an existing oneThis issue represents an ask for new feature or an enhancement to an existing onefeature-css-isolationThis issue is related to CSS Isolation featureThis issue is related to CSS Isolation feature
Milestone
Description
Is your feature request related to a problem? Please describe.
Browser cache files (partially depending on the server settings), which can lead to the situation that a scoped CSS file changed, but this is not picked up, because the file name didn't change. Replacing ProjectName.styles.css by ProjectName.styles.css?hash=123 doesn't produce the usual cache-busting mechanism, because the contents of that file (e.g. @import _content/library/library.bundle.scp.css) didn't change, only the file referenced by the import changed in content.
Describe the solution you'd like
Would it be possible to automatically calculate a file hash of the scoped CSS parts and import them with @import '_content/library/library.bundle.scp.css?hash=123';?
christianrondeau, rogihee, IxJames, Paul-JanPauptit, taNewton95 and 56 moreXmlmXmlmX, PavloParafiloCricut, iXyles, kevin-mueller, zubairkhakwani and 2 more
Metadata
Metadata
Assignees
Labels
✔️ Resolution: DuplicateResolved as a duplicate of another issueResolved as a duplicate of another issuePillar: Technical Debtarea-blazorIncludes: Blazor, Razor ComponentsIncludes: Blazor, Razor ComponentsenhancementThis issue represents an ask for new feature or an enhancement to an existing oneThis issue represents an ask for new feature or an enhancement to an existing onefeature-css-isolationThis issue is related to CSS Isolation featureThis issue is related to CSS Isolation feature