Skip to content

Reorganise Setup of Emojis and loading of digests.json

Tim Zallmann requested to merge tz-reorganise-digests-json into master

What does this MR do?

It reduces the parsed size of the main.js bundle by 308KB (currently biggest part in there) from 1.12MB at the moment.

  • Put Emoji PNG's into public folder so no asset hashes are necessary as they anyhow don't change

  • Remove those hashes and change value keys to shorter ones to reduce the size of the JSON (348KB -> 194KB)

  • Load the JSON async and not bundle it up

  • Cache the emoji info in the localstorage and retrieve it from there

  • Remove the emoji bundle from the main bundle

Closes #39000 (closed)

What are the relevant issue numbers?

Does this MR meet the acceptance criteria?

Edited by Tim Zallmann

Merge request reports