[PERF-224] Support to serve static assets from a CDN.
A base URL can now be configured which is, potentially, prepended to an asset URL. This allows a CDN, or caching server, to front static asset requests, taking load off of the contentstore and speeding up page load times. Asset URL generation respects locked vs unlocked assets, and will not generate links to locked assets that would traverse a CDN (even though the authorization component of the contentserver middleware wouldn't allow those links to work anyways).
Showing
common/djangoapps/static_replace/admin.py
0 → 100644
common/djangoapps/static_replace/models.py
0 → 100644
This diff is collapsed.
Click to expand it.
Please
register
or
sign in
to comment