Page MenuHomePhabricator

Optimize the size of the SVG en-wordmark
Closed, DeclinedPublic


The SVG is 7kB and it seems to be bigger than the one in

It should be at the very least as optimized as the one in production.


Either implement an SVG optimizer:

  • as a webpack loader: would benefit optimizing every SVG like the icons, preferred.
  • as a manual script to npm run.

MobileFrontend uses svgo, see .svgo.yml

Webpack resources:


  • SVG is as optimized as the production one
  • SVG is optimized in the server render too


  • The wordmark will not be used for server-side renders in SVG form (post T177235).
  • The wordmark will be used on the client and server within an img tag (T180623).

Event Timeline

Change 391467 had a related patch set uploaded (by Niedzielski; owner: Sniedzielski):
[marvin@master] Chore: use Webpack for server production builds

Please also see the work at T178867 for recommended markup outcome.

Change 391467 merged by jenkins-bot:
[marvin@master] Chore: use Webpack for server production builds

Aklapper subscribed.

Declining open Marvin tasks as per T203749#4605708