Closed Bug 1059396 Opened 10 years ago Closed 10 years ago

[Air Mozilla] Change our MEDIA_URL

Categories

(Infrastructure & Operations :: IT-Managed Tools, task)

x86
macOS
task
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: peterbe, Assigned: gozer)

Details

(Whiteboard: [kanban:https://kanbanize.com/ctrl_board/4/1140] )

Attachments

(1 file)

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
Whiteboard: [kanban:https://kanbanize.com/ctrl_board/4/1140]
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]
Whiteboard: [kanban:https://kanbanize.com/ctrl_board/4/1140]
Assignee: server-ops-webops → gozer
Looks like MEDIA_URL *must* end with a '/', otherwise, Django throws an error.
And the winner is:

MEDIA_URL = '//air.cdn.mozilla.net/media/'
Status: NEW → RESOLVED
Closed: 10 years ago
Resolution: --- → FIXED
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 → ---
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.
The CDN is working wonderfully now. So there's little action we can take right now.
Status: REOPENED → RESOLVED
Closed: 10 years ago10 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: