Closed Bug 634658 Opened 15 years ago Closed 14 years ago

[Demo Studio] Include modified date-stamp of submission in URL path to static demo assets

Categories

(developer.mozilla.org Graveyard :: Demo Studio / Dev Derby, defect)

x86
macOS
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: lorchard, Unassigned)

Details

(Whiteboard: qawanted)

Currently, the URL path to the static assets of a demo looks something like this: https://developer-stage9.mozilla.org/media/uploads/demos/l/m/lmorchard/globe-tweeter/screenshot_1.png Change this so that when the demo is submitted or edited, a modified date-stamp is included in the path, like so: https://developer-stage9.mozilla.org/media/uploads/demos/l/m/lmorchard/globe-tweeter/201102161328/screenshot_1.png This will ensure that cached assets will be refreshed, since the URL path for every asset will change based on the modification time of the demo itself.
Target Milestone: --- → 0.9.4
Summary: Include modified date-stamp of submission in URL path to static demo assets → [Demo Studio] Include modified date-stamp of submission in URL path to static demo assets
This makes sense... Not sure what other implications the change will have, so hopefully you guys can shed some light before we spend a lot of time on this.
Target Milestone: 0.9.4 → 0.9.5
https://github.com/fwenzel/mdn/commit/ec539c19a8c2995861c9410337b3564e04fdc90e Haven't copied this over to kuma yet, will wait to close until then.
This should be working on stage9 now. The URL to all uploaded screenshots and demo ZIP files should include a numeric timestamp that changes every time something new is uploaded.
Status: NEW → RESOLVED
Closed: 14 years ago
Resolution: --- → FIXED
Whiteboard: qawanted
Version: MDN → unspecified
Component: Demos → Demo Studio / Dev Derby
Product: developer.mozilla.org → developer.mozilla.org Graveyard
You need to log in before you can comment on or make changes to this bug.