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 |
---|---|---|
.. | ||
tests | Loading commit data... | |
__init__.py | Loading commit data... | |
access.py | Loading commit data... | |
assets.py | Loading commit data... | |
certificates.py | Loading commit data... | |
component.py | Loading commit data... | |
course.py | Loading commit data... | |
dev.py | Loading commit data... | |
entrance_exam.py | Loading commit data... | |
error.py | Loading commit data... | |
exception.py | Loading commit data... | |
export_git.py | Loading commit data... | |
helpers.py | Loading commit data... | |
import_export.py | Loading commit data... | |
item.py | Loading commit data... | |
library.py | Loading commit data... | |
organization.py | Loading commit data... | |
preview.py | Loading commit data... | |
program.py | Loading commit data... | |
public.py | Loading commit data... | |
session_kv_store.py | Loading commit data... | |
tabs.py | Loading commit data... | |
transcripts_ajax.py | Loading commit data... | |
user.py | Loading commit data... | |
videos.py | Loading commit data... |