pre containing br breaks compression
See original GitHub issueCompression will stop after encountering a br inside a pre. Try this code with default options in the online version:
<pre>
<br>
</pre>
<u>
test fail
</u>
result is identical.
I looked at source code but could not figure out why
Issue Analytics
- State:
- Created 6 years ago
- Comments:6
Top Results From Across the Web
Brotli Compression: A Fast Alternative to GZIP ... - Kinsta
GZIP compression has been the standard for a long time, but not any more! This post will dissect Brotli compression.
Read more >Use Brotli Compression - Tezify
This means, compressing your files into brotli format through web server while serving a request is a bad idea. Instead, you should pre-compress...
Read more >Compression under HTTPS with `dotnet watch` and ... - GitHub
Compression under HTTPS with dotnet watch and launchBrowser: true breaks some HTML ... Cannot decode HTTP response using Encoding: br; error: System.
Read more >Comparative Study on the Period of Absolute Bed Rest ... - NCBI
A prospective study was conducted who were diagnosed with compression fracture. Groups A and B were put on ABR (one week for group...
Read more >Boosting Site Speed Using Brotli Compression
Browsers that support Brotli automatically include br in the Accept-Encoding header sent with the HTTP request. It tells the server that the ...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
When using
<br>
, minification breakI did some more tests, and it seems any self closing tag inside a pre will trigger this issue (like img or else)
@alexlamsl Could you please reopen ?