Project:Javascript Aggregator
Version:6.x-1.x-dev
Component:Code
Category:task
Priority:normal
Assigned:Unassigned
Status:postponed
Issue tags:d7 ports

Issue Summary

#352951: Make JS & CSS Preprocessing Pluggable

Comments

#1

#2

isn't minification produces smaller results than gzip? or am i wrong?

#3

Minifiction and gzip are two different concepts.
- Minification minifies the content of a file by rewriting it (cant be undone).
- Gzip compresses the file without altering the content (unzipping restores the original file).

Minification is more effective in most cases where you have a human readable file as a source. The minification takes away some of the human readability without (in an ideal world) touching the readability for the machine.

But both concepts can (and should) be combined for optimizing filesize.

#4

Is there any module right now for D7 that minifies js?
If not, is there anything in the horizon?

#5

i think that Minify is the only thing that didn't got in D7.

Page Speed report (firefox):


Minify JavaScript
Minifying the following JavaScript resources using JSMin could reduce their size by 12.2KiB (13% reduction).

    * Minifying http://.../files/js/js_m1OCm... could save 12.2KiB (13% reduction). See optimized version or Save as.

btw,
Minify CSS is in D7.
Minify HTML is not in D7.

#6

What about using "minify" for a D7 Version of Javascript Aggregator?

http://code.google.com/p/minify/

Here are some features from the list. We dont need all of this, but its all optional as I understand it:

* Combines and minifies multiple CSS or JavaScript files into a single download
* Uses an enhanced port of Douglas Crockford's JSMin library and custom classes to minify CSS and HTML
* Caches server-side (files/apc/memcache) to avoid doing unnecessary work
* Responds with an HTTP 304 (Not Modified) response when the browser has an up-to-date cache copy
* Most modules are lazy-loaded as needed (304 responses use minimal code)
* Automatically rewrites relative URIs in combined CSS files to point to valid locations
* With caching enabled, Minify is capable of handling hundreds of requests per second on a moderately powerful server.
* Content-Encoding: gzip, based on request headers. Caching allows it so serve gzipped files faster than Apache's mod_deflate option!
* Test cases for most components
* Easy integration of 3rd-party minifiers
* Separate utility classes for HTTP encoding and cache control

#7

Subscribing.

#8

subscribing

#9

subscribing

#10

sub

#11

subscribing

#12

subscribing

#13

Subscribe

#14

subscribe

#15

Once advagg hits 1.0 I'll be porting it over to 7.x and/or combining it with these 2 projects http://drupal.org/project/core_library http://drupal.org/project/agrcache

#16

sub

#17

subscribe

#18

subscribe

#19

Subscribe.

#20

subscribe

#21

Subscribe

#22

Subscribe

#23

subscribe

#24

Title:Port to Drupal 7» Javascript Aggregator » D7 port

#25

Subscribing...

#26

Looking forward to updates on this issue and #15. How long will this be postponed...?

#27

subscribe

#28

subscribe

#29

subscribing

#30

subscribe

#31

subscribe

#32

Subscribe

#33

subscribing

#34

adding d7 ports tag

#35

Since [[http://drupal.org/node/940342|issue 940342]] has been fixed, wondering when the port will take place. Thanks!

#36

nobody click here