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_access.py | Loading commit data... | |
test_assets.py | Loading commit data... | |
test_certificates.py | Loading commit data... | |
test_container_page.py | Loading commit data... | |
test_course_index.py | Loading commit data... | |
test_course_updates.py | Loading commit data... | |
test_credit_eligibility.py | Loading commit data... | |
test_entrance_exam.py | Loading commit data... | |
test_gating.py | Loading commit data... | |
test_group_configurations.py | Loading commit data... | |
test_header_menu.py | Loading commit data... | |
test_helpers.py | Loading commit data... | |
test_import_export.py | Loading commit data... | |
test_item.py | Loading commit data... | |
test_library.py | Loading commit data... | |
test_organizations.py | Loading commit data... | |
test_preview.py | Loading commit data... | |
test_programs.py | Loading commit data... | |
test_tabs.py | Loading commit data... | |
test_textbooks.py | Loading commit data... | |
test_transcripts.py | Loading commit data... | |
test_unit_page.py | Loading commit data... | |
test_user.py | Loading commit data... | |
test_videos.py | Loading commit data... | |
utils.py | Loading commit data... |