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)

defect

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"
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
Summary: Hera should flush objects off StAMO → Add hashes to all objects on StAMO
Target Milestone: 5.12.2 → 5.12.3
Assignee: nobody → amckay
Priority: -- → P4
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
Is this QA-testable, Wil? (Is there potential fallout we could check for?)
Product: addons.mozilla.org → addons.mozilla.org Graveyard
You need to log in before you can comment on or make changes to this bug.