Closed (fixed)
Project:
Advanced CSS/JS Aggregation
Version:
7.x-2.x-dev
Component:
Code
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
14 Jan 2014 at 16:46 UTC
Updated:
18 Feb 2014 at 20:30 UTC
Jump to comment: Most recent
Comments
Comment #1
mikeytown2 commentedGzip will do lossless compression of the aggregate so it will be downloaded faster. Some web server configurations can not take advantage of .gz files so this can be turned off as gzip does take some CPU cycles.
Depends on the web server configuration. If the web server does not take advantage of .gz files then every time the aggregate is downloaded it will be gzipped again by the web server (most likely). The out of the box .htaccess configuration of Drupal for Apache will take advantage of .gz files.
AdvAgg & Core will do gzip file compression at the same time as the file is saved; 2 files get saved, an uncompressed version and a compressed one (gzip). No gzipping of aggregates happens on cron.
Core has an option to disable gzip for core CSS/JS aggregation.
http://drupalcode.org/project/drupal.git/blob/refs/heads/7.x:/sites/defa... I've done something similar in AdvAgg. Gzip is on by default but it can be turned off if needed.
More info on gzip https://developers.google.com/speed/articles/gzip
Comment #2
mikeytown2 commentedMarking this issue as fixed