Why Nostr? What is Njump?
2024-08-19 17:46:57

Terence Eden on Nostr: I have a *very* stupid #HTML question Is it possible to *compress* the contents of a ...

I have a *very* stupid #HTML question

Is it possible to *compress* the contents of a Data URl?

For example, I can do:

`data:text/css;base64,…`

But the B64 version is larger than the plaintext.

I want to do something like

`data:text/css&gzip;base64,…`

Obviously, this is redundant with MIME types of compressed images.
And, also obviously, the Base64 is compressed with the page.
So perhaps this is a redundant idea?
Author Public Key
npub1lh05slh2nk6h5m3jp7qwtjmrmegtah6nj626g8qdg3a7ds3kg0ss9aa5ll