Closed
Bug 1059396
Opened 10 years ago
Closed 10 years ago
[Air Mozilla] Change our MEDIA_URL
Categories
(Infrastructure & Operations :: IT-Managed Tools, task)
Tracking
(Not tracked)
RESOLVED
FIXED
People
(Reporter: peterbe, Assigned: gozer)
Details
(Whiteboard: [kanban:https://kanbanize.com/ctrl_board/4/1140] )
Attachments
(1 file)
14.35 KB,
image/png
|
Details |
We now have a CDN [0]. All we need to do is to change the settings/local.py so that it says:: MEDIA_URL = '//air.cdn.mozilla.net' [0] https://bugzilla.mozilla.org/show_bug.cgi?id=1030199#c4
Reporter | ||
Comment 1•10 years ago
|
||
This is prod only since the CDN's origin server is only for air.mozilla.org.
Whiteboard: [kanban:https://kanbanize.com/ctrl_board/4/1140]
Reporter | ||
Updated•10 years ago
|
Whiteboard: [kanban:https://kanbanize.com/ctrl_board/4/1140]
Assignee | ||
Updated•10 years ago
|
Assignee: server-ops-webops → gozer
Assignee | ||
Comment 2•10 years ago
|
||
Looks like MEDIA_URL *must* end with a '/', otherwise, Django throws an error.
Assignee | ||
Comment 3•10 years ago
|
||
And the winner is: MEDIA_URL = '//air.cdn.mozilla.net/media/'
Status: NEW → RESOLVED
Closed: 10 years ago
Resolution: --- → FIXED
Reporter | ||
Comment 4•10 years ago
|
||
Ne marche pas https://air.mozilla.org/media/cache/a6/29/a629f156509941795fae6851a3d2d0fc.png works but https://air.cdn.mozilla.net/media/cache/a6/29/a629f156509941795fae6851a3d2d0fc.png just spins and spins :(
Status: RESOLVED → REOPENED
Resolution: FIXED → ---
Reporter | ||
Comment 5•10 years ago
|
||
Hmm. Now it works but it's horribly slow https://air.cdn.mozilla.net/media/cache/a6/29/a629f156509941795fae6851a3d2d0fc.png It takes tens of seconds to load. Sometimes more.
Reporter | ||
Comment 6•10 years ago
|
||
The CDN is working wonderfully now. So there's little action we can take right now.
Status: REOPENED → RESOLVED
Closed: 10 years ago → 10 years ago
Resolution: --- → FIXED
You need to log in
before you can comment on or make changes to this bug.
Description
•