Skip to content

Use the shortest encoding for data URLs, with minimal escaping - #540

Merged
snshn merged 1 commit into
Y2Z:masterfrom
snshn:shortest-data-url-encoding
Oct 16, 2026
Merged

snshn merged 1 commit into
Y2Z:masterfrom
snshn:shortest-data-url-encoding

Conversation

@snshn

@snshn snshn commented Oct 16, 2026

Copy link
Copy Markdown
Member

Text assets like CSS, SVG and JavaScript usually come out shorter percent-encoded
(and stay readable), binary ones as base64. srcset keeps using base64, since it
gets split on whitespace.

Closes #467

@snshn
snshn merged commit 9cebaa9 into Y2Z:master Oct 16, 2026
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant