Closed
Bug 1006779
Opened 11 years ago
Closed 11 years ago
[tarako] optimize icons on production
Categories
(Marketplace Graveyard :: General, defect, P1)
Tracking
(Not tracked)
RESOLVED
FIXED
2014-05-13
People
(Reporter: ddurst, Assigned: mat)
References
Details
(Keywords: perf, Whiteboard: [qa-])
We should optimize icons on production.
So they're smaller. And they download faster.
Assignee | ||
Comment 1•11 years ago
|
||
We ran the command in prod with jason, it was super-fast. It appears to have worked *except* that I forgot to update the icon hash in the command, which means we need to do this manually.
The SQL to run is:
UPDATE `addons`
SET `icon_hash` = 'crushed'
WHERE (`addons`.`addontype_id` = 11 AND `addons`.`status` IN (4, 13, 2) AND `addons`.`icon_hash` IS NULL);
And then we need to reindex:
./manage.py reindex_mkt --settings=settings_local_mkt
Status: NEW → ASSIGNED
Target Milestone: --- → 2014-05-13
Assignee | ||
Comment 2•11 years ago
|
||
We ran everything. I'm hitting bug 995288 sometimes which prevents me from seeing the benefits on apps I already visited, but otherwise we're good now.
Status: ASSIGNED → RESOLVED
Closed: 11 years ago
Resolution: --- → FIXED
Whiteboard: [qa-]
You need to log in
before you can comment on or make changes to this bug.
Description
•