edx-platform Static Asset Work Log

Tracking work items that came from the Asset Compilation Audit 2017-11-01.

Go to the #assetpipeline channel in Slack if you want to discuss.

Compile Times / Sizes

Weekly log of where we are for a few key commands we're trying to optimize, based on what's merged to master. This is using Docker Devstack, with the default set of themes on master. Compile speeds are given as median of three runs of paver update_assets in dev mode and prod mode.


DateCompile TimeGenerated AssetsChanges
2017-11-105:14 / 11:58343M / 838M(baseline)

2017-12-22

4:32 / 9:40212M / 500M

FEDX-445 - Getting issue details... STATUS

FEDX-446 - Getting issue details... STATUS

FEDX-447 - Getting issue details... STATUS  

FEDX-448 - Getting issue details... STATUS

FEDX-449 - Getting issue details... STATUS









Possible work items:

  • Combine SASS compilation steps so we're not recompiling the same shared assets between LMS and Studio.
  • Extract and isolate vendor JS files so that they aren't constantly re-processed by our pipeline.
  • Investigate current "ideal" Bootstrap CSS compile performance (no v1 or v2 CSS code), to make sure < 1s latency is achievable.
  • Change how Webpack configuration is extracted so that we don't waste so much time waiting on edx-platform to start up and give us a config value. (Complicated by Studio's git-hashed based static dir location.)
  • Studio/LMS asset unification – need to discuss this. Studio assets are mostly a subset of LMS assets with slightly different path information due to the prefix. Could potentially cut a lot of the redundant processing, but we have to make sure it's aligned with the goals of SFE and other efforts.