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 |
|---|---|---|
| .. | ||
| features | Loading commit data... | |
| management | Loading commit data... | |
| migrations | Loading commit data... | |
| tests | Loading commit data... | |
| views | Loading commit data... | |
| __init__.py | Loading commit data... | |
| admin.py | Loading commit data... | |
| context_processors.py | Loading commit data... | |
| course_group_config.py | Loading commit data... | |
| course_info_model.py | Loading commit data... | |
| courseware_index.py | Loading commit data... | |
| debug_file_uploader.py | Loading commit data... | |
| git_export_utils.py | Loading commit data... | |
| models.py | Loading commit data... | |
| proctoring.py | Loading commit data... | |
| push_notification.py | Loading commit data... | |
| signals.py | Loading commit data... | |
| startup.py | Loading commit data... | |
| tasks.py | Loading commit data... | |
| utils.py | Loading commit data... |