Ticket #31 (assigned enhancement)
Compress CSS and JS generated from api_resources
| Reported by: | todd | Owned by: | william |
|---|---|---|---|
| Priority: | minor | Milestone: | |
| Component: | Core Features | Version: | 0.x |
| Keywords: | Cc: |
Description (last modified by william) (diff)
Hook the GenerateResources? call in setup.py to emit "compressed" JS and CSS rather than the original verbatim. This should reduce our install size, and how much we send to the browser, too.
UPDATE: Instead of compressing all files, we will only compress files with an indicator, such as the first line being a comment "tcms compress." This will allow files to be compressed as needed and for any "externa" resource files (prototype, tinyMCE, etc.) to use their pre-built compressed versions.
Change History
Note: See
TracTickets for help on using
tickets.