Improve Emoji Bundles handling of digests.json
Currently the digests.json (Which contains icons information + their asset hash) is packaged inside the Emoji Bundle and therefore its bloated by 315.5KB. Also, it is included twice as the notes bundle also contains the emoji bundle.
-
Put Emoji PNG's into public folder so no asset hashes are necessary as they anyhow don't change -
Remove those hashes to reduce the size of the JSON -
Load the JSON async and not bundle it up -
Cache the emoji 0info in the localstorage
and retrieve it from there -
Maybe further defer loading of emoji bundle so it doesn't block the loading pipeline in the first 2-3 seconds of page load -
Remove the emoji bundle from the notes bundle