developer.jelix.org is not used any more and exists only for
history. Post new tickets on the Github account.
developer.jelix.org n'est plus utilisée, et existe uniquement pour son historique. Postez les nouveaux tickets sur le compte github.
developer.jelix.org n'est plus utilisée, et existe uniquement pour son historique. Postez les nouveaux tickets sur le compte github.
Opened 10 years ago
Closed 10 years ago
#1183 closed enhancement (fixed)
we should compress javascripts we provide
Reported by: | Julien | Owned by: | Julien |
---|---|---|---|
Priority: | normal | Milestone: | Jelix 1.2RC1 |
Component: | jelix-www | Version: | trunk |
Severity: | normal | Keywords: | |
Cc: | dominique.papin@… | Blocked By: | |
Blocking: | Documentation needed: | no | |
Hosting Provider: | Php version: |
Change History (5)
comment:1 Changed 10 years ago by Julien
- Status changed from new to assigned
comment:2 Changed 10 years ago by bibo
- Cc dominique.papin@… added
comment:3 Changed 10 years ago by Julien
yup, in fact I should have said minified ;)
"c" flag removes all comments, leading/trailing white spaces and empty lines.
for jforms_jquery.js, it saves more than 10Ko for example.
comment:4 Changed 10 years ago by laurentj
- review changed from review? to review+
comment:5 Changed 10 years ago by Julien
- Resolution set to fixed
- Status changed from assigned to closed
Note: See
TracTickets for help on using
tickets.
Hello Julien,
This overlaps with ticket http://developer.jelix.org/ticket/860 where files now can be concatenated and minified.
But as this is an option and as one can also exclude specifically one js from the operation we could include a minified version of jelix js files. Agreed !
Wait what does -c flag do exactly ? I don't remind. Are files only compressed(gzipped) and/or minified ? Compression in my mind shoud be activated through server flags (mod_gzip in apache2 for example).