bit Boilerplate compresses the library CSS and JS again instead of serving their published .br
Maintainers usually reply within 1 day
Assessment
- Difficulty
- 4/5
- Estimated time
- 1-2 days
- Newbie friendliness
- 25/100
- Issue type
- Bug
- Clarity
- Mostly clear
- Activity status
- Stale
- Tech stack
- csharp, css, wasm
- Domain
- backend, performance
Research direction
Start by reading how Server.Web serves library files under _content through UseStaticFiles, how UseResponseCompression handles those responses, and how UseBlazorFrameworkFiles serves published .br files under _framework. Compare the delivered CSS and JS sizes with their published Brotli files; done means the library assets use the published compressed files without being compressed again. Linked pull request #14069 is already open.
Written by the indexing model from the issue text.
Description
Without MapStaticAssets (#14059), bit Boilerplate's Server.Web serves the library files under _content through UseStaticFiles, which doesn't know about the .br files the publish writes next to them. UseResponseCompression then compresses each one again at its fastest level: on adminpanel.bitplatform.dev bit.blazorui.css reaches the browser as 165 KB of Brotli while its published .br is 71 KB, and bit BlazorUI's, Extras' and Butil's CSS and JS together cost about 175 KB more than their published files on a first visit.
_framework doesn't have this problem: UseBlazorFrameworkFiles serves its published .br files.
- Dominant language
- C#
- Stars
- 1.4k
- Forks
- 264
- Avg merge
- 14h 17m
- Merged PRs (30d)
- 327
Getting set up
This project ships no dev container, Dockerfile or contributing guide, so setting up is up to you: start from its README, and see our first-contribution guide for the general steps.
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from bitfoundation/bitplatform
-
Difficulty 2/5 1-3 hours Newbie friendliness 74/100
bitfoundation/bitplatform#14070 ·
Maintainers usually reply within 1 day
-
test-platform's kept dev container hint names a command the demo host doesn't havePossibly taken @yasmoradi claimed this today. Open
bitfoundation/bitplatform#14071 · 1 assignee ·
Maintainers usually reply within 1 day
-
The demos' Windows apps aren't ready for WinGet and the Microsoft StorePossibly taken @yasmoradi claimed this today. Open
Difficulty 5/5 Over a week Newbie friendliness 25/100
bitfoundation/bitplatform#14055 ·
Maintainers usually reply within 1 day
-
bit Boilerplate's E2E download size test fails on TodoAotPossibly taken @yasmoradi claimed this today. Open
Difficulty 4/5 3-5 days Newbie friendliness 20/100
bitfoundation/bitplatform#14049 ·
Maintainers usually reply within 1 day
-
BitChart labels grow into the plot in a right-to-left pagePossibly taken @msynk claimed this today. Open
Difficulty 4/5 1-2 days Newbie friendliness 35/100
bitfoundation/bitplatform#14044 ·
Maintainers usually reply within 1 day
All issues in bitfoundation/bitplatform
Similar issues
-
area: client bug
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
Maintainers usually reply within 1 day
-
bug mcp misleading small
Difficulty 2/5 1-3 hours Newbie friendliness 70/100
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 82/100
-
enhancement
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
hazeliscoding/gil-sweep#25 ·
Maintainers usually reply within 1 day
-
Bug Platform: Android
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
getsentry/sentry-dotnet#5764 · 1 comment ·
Maintainers usually reply within 1 day