Skip to content
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

Optimize file delivery, cache-busting, offline support (CSS, JS) #726

Closed
hakenr opened this issue Jan 8, 2024 · 1 comment
Closed

Optimize file delivery, cache-busting, offline support (CSS, JS) #726

hakenr opened this issue Jan 8, 2024 · 1 comment
Assignees
Labels
enhancement New feature or request
Milestone

Comments

@hakenr
Copy link
Member

hakenr commented Jan 8, 2024

Currently, we append a version modifier to the query string for our CSS and JS files where feasible. However, this approach is not ideal for several reasons. For instance, the automatically generated MyApp.styles.css files for CSS isolation do not include this version modifier. Additionally, there are problems related to offline mode in PWAs, as highlighted in issue #444, among other concerns.

In the Blazor roadmap, there's a promising feature under development titled 'Optimize file delivery', which could address these issues. More details can be found here: dotnet/aspnetcore#52824.

We should monitor this development closely and integrate the solutions into our library as soon as they become available.

@hakenr hakenr added enhancement New feature or request waiting-blazor Waiting for action on Blazor side labels Jan 8, 2024
@hakenr hakenr added this to the Waiting milestone Jan 8, 2024
@hakenr hakenr self-assigned this Jan 8, 2024
@hakenr
Copy link
Member Author

hakenr commented Nov 12, 2024

Resolved within Blazor in .NET 9.

@hakenr hakenr closed this as completed Nov 12, 2024
@hakenr hakenr removed the waiting-blazor Waiting for action on Blazor side label Nov 12, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant