Gzip advice?

mcload - June 20, 2009 - 16:49
Project:Javascript Aggregator
Version:6.x-1.2
Component:Miscellaneous
Category:support request
Priority:normal
Assigned:Unassigned
Status:closed
Description

How can I use mod_deflate together with Javascript Aggregator's gzip functionality? Both of them has shortcomings.

1) mod_deflate can gzip all javascript files on the site, but as far as I know it does not cache them, so zips the same file again each page causing performance problems as written at http://drupal.org/node/416808

2) Javascript Aggregator can gzip and cache the file. However, it works only at the aggregated javascript files. Many modules like TinyMCE do not put their javascript to aggregation, so Javascript Aggregator cannot compress those huge javascript files.

Is there a way to apply compression and caching to all javascript files on the site?

#1

mcload - June 23, 2009 - 18:10

Not possible?

#2

derjochenmeyer - June 23, 2009 - 18:24

Im not familiar with mod_deflate plus i dont use WYSIWYG editors. Patches and advice are welcome.

#3

ckng - June 24, 2009 - 20:30

I just tried enabling both mod_deflate and Javascript Aggregator + css_gzip, all files are now sent compressed. Before this without mod_deflate, the page and some js/css are not compressed. So I guess it works, have yet to encounter any problem or conflict.

#4

derjochenmeyer - July 22, 2009 - 22:21
Status:active» closed
 
 

Drupal is a registered trademark of Dries Buytaert.