Closed
Bug 600885
Opened 16 years ago
Closed 15 years ago
Add hashes to all objects on StAMO
Categories
(addons.mozilla.org Graveyard :: Code Quality, defect, P4)
addons.mozilla.org Graveyard
Code Quality
Tracking
(Not tracked)
RESOLVED
FIXED
5.12.3
People
(Reporter: clouserw, Assigned: andy+bugzilla)
References
Details
Static data is coming off StAMO. We should figure out a way to flush it with Hera.
Also, once this bug is done, in production: "Undo URL overrides in settings_local for USER_PIC_URL and anything else in there that is trying to avoid StAMO"
| Reporter | ||
Comment 1•16 years ago
|
||
Figuring out what is on StAMO and what isn't sounds like a pain so instead we'll just make sure anything on StAMO has a hash. That will let us swap/complement StAMO with a 3rd party CDN with no troubles
| Reporter | ||
Updated•16 years ago
|
Summary: Hera should flush objects off StAMO → Add hashes to all objects on StAMO
| Reporter | ||
Updated•15 years ago
|
Target Milestone: 5.12.2 → 5.12.3
| Reporter | ||
Updated•15 years ago
|
Assignee: nobody → amckay
Priority: -- → P4
| Assignee | ||
Comment 2•15 years ago
|
||
Changing settings_local to have:
ADDON_ICON_URL = ('%s/%s/%s/images/addon_icon/%%d/?modified=%%s' % (STATIC_URL, LANGUAGE_CODE, DEFAULT_APP))
PREVIEW_THUMBNAIL_URL = (STATIC_URL + '/img/uploads/previews/thumbs/%s/%d.png?modified=%d')
PREVIEW_FULL_URL = (STATIC_URL + '/img/uploads/previews/full/%s/%d.png?modified=%d')
USERPICS_URL = STATIC_URL + '/img/uploads/userpics/%s/%s/%s.png?modified=%d'
Will give hashed URLs. Added tests for the flushing of the URLs upon changes, but we'll need to be testing this in a more realistic environment.
https://github.com/jbalogh/zamboni/commit/e0ca93d188c014dcff6d3861426496d2e0343275
Status: NEW → RESOLVED
Closed: 15 years ago
Resolution: --- → FIXED
Comment 3•15 years ago
|
||
Is this QA-testable, Wil? (Is there potential fallout we could check for?)
Updated•10 years ago
|
Product: addons.mozilla.org → addons.mozilla.org Graveyard
You need to log in
before you can comment on or make changes to this bug.
Description
•