Feature #9759
HTML minification and compression
| Status: | New | Start date: | ||
|---|---|---|---|---|
| Priority: | Normal | Due date: | ||
| Assignee: | - | % Done: | 0% |
|
| Category: | Code cleanup/refactoring | |||
| Target version: | - | |||
| Resolution: |
Description
To improve page loading, you can use Tidy for compressing HTML code (show source code of this example).
Yes the gain will be low, but this is a good start before to minify CSS and JavaScript files.
To further improve HTML compression, you can also gzip output.
Sorry, I don't know RUBY, but in PHP, you can gzip files with output buffering.
Related issues
History
#1 Updated by Etienne Massip 6 months ago
Rails 3.1 with sprockets enhance greatly serving of assets.