When releasing the versioned assets work, we stumbled on a problem with old pickled versions of the StaticContent objects residing in cache, which triggered a bug in the code. Not wanting to blow away all cached items, we ended up having to revert and add in some backwards-compatible helper code to ease the transition. With this, we'll now utilize the version argument that Django's caching interface allows, in conjunction with a constant value that can be modified when breaking changes are being made, to let us gracefully ignore older cached course assets.
Name |
Last commit
|
Last update |
---|---|---|
.. | ||
__init__.py | Loading commit data... | |
test_clone_course.py | Loading commit data... | |
test_contentstore.py | Loading commit data... | |
test_core_caching.py | Loading commit data... | |
test_course_create_rerun.py | Loading commit data... | |
test_course_listing.py | Loading commit data... | |
test_course_settings.py | Loading commit data... | |
test_courseware_index.py | Loading commit data... | |
test_crud.py | Loading commit data... | |
test_export_git.py | Loading commit data... | |
test_gating.py | Loading commit data... | |
test_i18n.py | Loading commit data... | |
test_import.py | Loading commit data... | |
test_import_draft_order.py | Loading commit data... | |
test_import_pure_xblock.py | Loading commit data... | |
test_libraries.py | Loading commit data... | |
test_orphan.py | Loading commit data... | |
test_permissions.py | Loading commit data... | |
test_proctoring.py | Loading commit data... | |
test_request_event.py | Loading commit data... | |
test_transcripts_utils.py | Loading commit data... | |
test_users_default_role.py | Loading commit data... | |
test_utils.py | Loading commit data... | |
tests.py | Loading commit data... | |
utils.py | Loading commit data... |