Translations: English
Search on Docs:
   
ActionItem Search:

#1830: Reduce JS size and optimize with UglifyJS

Type: FeatureItem Feature: Infrastructure Tags: EasyToSolve
ScheduledFor:   Assigned to:   Sites:  
Priority: 0 Status: Pending  

Today we join all js files together in the cache-general.js file, but we can do better useing the UglifyJS.

That application is used by the new version of jQuery to make that smaller and to give some optimizations.

I have tested http://softwarelivre.org/javascripts/cache-general.js on http://marijnhaverbeke.nl/uglifyjs and it saved 243274 characters.

$ wc --chars cache-general.js shows me that has 707715 characters, so UglifyJS reduces it in 34%!

-- AurelioAHeckert - 01 Feb 2011
Add comment
You need to login to be able to comment.
 

ActionItemForm edit

Title Reduce JS size and optimize with UglifyJS
ActionItemType FeatureItem
Priority Low
Tags EasyToSolve
Feature Infrastructure
ResponsibleDevelopers
AffectsVersion
Status Pending
Ticket SAC:
Topic revision: r1 - 22 May 2015, UnknownUser

irc Talk with Devs Now!

Copyright © 2007-2019 by the Noosfero contributors
Colivre - Cooperativa de Tecnologias Livres