You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
As a user, I would like static resources of text/* mime-types compressed by default. All text resources should be gzipped. JavaScript and CSS files should be minified before they are gzipped. There should be the option to disable runtime compression, since you don't want this on in development mode and it's possible some environments will compress as part of their build process.
Compress the first time a resource is requested. After that, add the compressed version to a disk-level cache. Future requests for the resource are served from the cache.
Minification should be pluggable. YUICompressor (http://developer.yahoo.com/yui/compressor/) provides both JS and CSS minification and is Java-based. Could be a suitable default implementation.
First pass under consideration for 3.0.4 will be limited to runtime-only gzip compression. Minification options and disk-based caching will be reconsidered for 3.1.
Keith Donald opened SPR-7140 and commented
As a user, I would like static resources of text/* mime-types compressed by default. All text resources should be gzipped. JavaScript and CSS files should be minified before they are gzipped. There should be the option to disable runtime compression, since you don't want this on in development mode and it's possible some environments will compress as part of their build process.
Implementation option #1:
Implementation option #2:
Affects: 3.0.2
This issue is a sub-task of #11776
Issue Links:
2 votes, 1 watchers
The text was updated successfully, but these errors were encountered: