Woocommerce-admin: [4.0 beta] Review the image assets bundled with WC Admin

Created on 13 Feb 2020  路  3Comments  路  Source: woocommerce/woocommerce-admin

Currently, WC Admin includes 5MBs of images in the images/onboarding directory, which contributes to the total package size of WC core considerably (total 卤12MBs). We need to optimize and remove the unneeded ones.

performance onboarding

Most helpful comment

Thanks @peterfabian this was on my list of to-dos this morning. Here are some thoughts I have on solutions. Since these images are only used in the setup checklist to create starter home page templates perhaps we can:

  • Remove them entirely from the repo, and either host them on WPCOM ( not sure of any implications on the .org plugin guidelines here ) or download them to the site only when they are needed.
  • Lower effort, run them all through image optimization. But still feel odd having us ship images to all woo core users that aren't needed.

All 3 comments

Thanks @peterfabian this was on my list of to-dos this morning. Here are some thoughts I have on solutions. Since these images are only used in the setup checklist to create starter home page templates perhaps we can:

  • Remove them entirely from the repo, and either host them on WPCOM ( not sure of any implications on the .org plugin guidelines here ) or download them to the site only when they are needed.
  • Lower effort, run them all through image optimization. But still feel odd having us ship images to all woo core users that aren't needed.

With #3731 merged, this one can be closed.

Thanks folks!

Was this page helpful?
0 / 5 - 0 ratings

Related issues

timmyc picture timmyc  路  4Comments

pmcpinto picture pmcpinto  路  4Comments

jeffstieler picture jeffstieler  路  3Comments

mujuonly picture mujuonly  路  3Comments

timmyc picture timmyc  路  4Comments