Hi, I have enable this module and after several speed test I run, there is still message that I shout use gzip to decrease css and js size.

I was inspecting in sites/default/files/advagg_css/ and there is *.css file with his *.css.gz twin:

css__3N2Xi-GTXZaE9ovUDq3VrZ62N2_UVVk-SMjKDS2JsU4__d25_zjo0BRjZHg1l7c9VXK7QY1aRkmWrnJXxG7kLHz8__LV4xcXpahH_NHOuCRxPvZ49pzXUU0M6AviHg5LrYqo8.css
css__3N2Xi-GTXZaE9ovUDq3VrZ62N2_UVVk-SMjKDS2JsU4__d25_zjo0BRjZHg1l7c9VXK7QY1aRkmWrnJXxG7kLHz8__LV4xcXpahH_NHOuCRxPvZ49pzXUU0M6AviHg5LrYqo8.css.gz
...

In performance settings Aggregate and compress CSS files is checked as same as Create .gz files and Enable advanced aggregation. I though that after this setting module will serve gzipped css and js files automatically. Do I need set something else (on my server)? What I do wrong?

I have used this speed tests:
http://gtmetrix.com/
https://developers.google.com/speed/pagespeed/insights
http://www.webpagetest.org/

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

jasom’s picture

Issue summary: View changes

sadf

jasom’s picture

Issue summary: View changes

sdf

jasom’s picture

Issue summary: View changes

g

mikeytown2’s picture

On the status report admin/reports/status does it list gzip as not working? Do you have mod_headers enabled in Apache? Reason I ask about mod headers is drupal core ships with gzip for css/js by default if you look at the .htaccess file, thus my guess is this is not enabled in Apache.

Quick Google search gave me these links below
http://www.ubun2.com/question/734/how_install_apache_module_mod_headers_...
http://stackoverflow.com/questions/8794566/how-to-check-mod-headers-and-...

mikeytown2’s picture

Status: Active » Fixed
FileSize
3.17 KB

I've committed this patch which will test if the apache module is enabled.

jasom’s picture

In status messages is "The Apache module "mod_headers" is not available. Enable mod_headers for Apache if at all possible. This is causing gzip to fail." - you are right.

I configure server and it works. Thank you.

May you please look at this queasion #1986750: Why is in <head> tag 4 stylesheet files instead of one?

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.

Anonymous’s picture

Issue summary: View changes

fd