Name |
Last commit
|
Last update |
---|---|---|
.. | ||
djangoapps | ||
djangolib | ||
lib | ||
__init__.py | ||
release.py | ||
storage.py |
Before this commit, XBlock static assets were extracted during the collectstatic process by iterating through all installed XBlock classes and creating a separate directory for each. However, some packages install many XBlocks that actually share the same static assets. The most notable example is problem_builder, though we also see this with schoolyourself and google_drive. This commit uses the parent module name to do package asset lookup, collapsing those cases down and eliminating duplicates. For a default install of edx-platform XBlocks, this reduces assets generated from 31M to 14M.
Name |
Last commit
|
Last update |
---|---|---|
.. | ||
djangoapps | Loading commit data... | |
djangolib | Loading commit data... | |
lib | Loading commit data... | |
__init__.py | Loading commit data... | |
release.py | Loading commit data... | |
storage.py | Loading commit data... |