Closed Bug 550515 Opened 14 years ago Closed 14 years ago

[kitsune] Concat and Minify JS and CSS

Categories

(support.mozilla.org :: Knowledge Base Software, task)

task
Not set
normal

Tracking

(Not tracked)

VERIFIED FIXED

People

(Reporter: jsocol, Assigned: jsocol)

References

Details

Attachments

(1 file)

We should look at something like one of the following:

http://github.com/mintchaos/django_compressor#readme
http://code.google.com/p/django-compress/wiki/Usage
AMO's YUICompressor-based app.

We should give these (and possibly other options) a quick once over and see which one makes us happiest.
(For the record, so far I like the first one the most, because it keeps all the JS and CSS exclusively in the templates, with just a couple wrappers.)
AMO's may be the best option, given that we're using Jinja. The other options in comment 0 are pretty Django-template specific.
Target Milestone: --- → 2.0
This was unassigned for a while because it bounced around between me and Paul.

I got the app out of AMO and put it up and http://github.com/jsocol/jingo-minify

This patch is based on that:
http://github.com/jsocol/kitsune/commit/f159b8f25ea78c38cc7e60fae6004ccb5e1273c6
Assignee: nobody → james
All works except results.html needs to be updated with the new css value, on line 4.
Merged to development with the changes from comment 6.

http://github.com/jsocol/kitsune/commit/1c6f3dc864e9e4402e08786e3755a23744bc473f
Status: NEW → RESOLVED
Closed: 14 years ago
Resolution: --- → FIXED
Verified FIXED.
Status: RESOLVED → VERIFIED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: