Closed (works as designed)
Project:
Advanced CSS/JS Aggregation
Version:
6.x-1.6
Component:
Miscellaneous
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
17 Mar 2012 at 05:11 UTC
Updated:
1 Dec 2015 at 23:27 UTC
Jump to comment: Most recent
Comments
Comment #1
mikeytown2 commentedYou can try web-root level htaccess rules
http://drupalcode.org/project/advagg.git/blob/refs/heads/6.x-1.x:/README...
Let me know if you have any questions :)
Comment #2
vikramaditya234 commentedThanks for the information. I have copied all two code blocks in .htaccess file, but .gz files are still not served. I can see that the files are created in directory path. I regret being such a noob, please help me here.
Comment #3
vikramaditya234 commentedI am using firefox aurora (latest version) and google chrome (latest version) to check if the css and js gzip are loaded (reading from the page source).
Comment #4
mikeytown2 commentedDo clean URLs work on your setup?
http://drupal.org/node/15365
Comment #5
vikramaditya234 commentedI have already enabled Clean URL for the site.
Comment #6
mikeytown2 commentedTo you have a URL that I can hit so I can take a peek at the headers?
Comment #7
mati commentedI have run into this issue. AdvAgg 6.x-1.9 with Drupal 6.20 on Apache.
Modified .htaccess as requested in readme, I can see that .gz files are being generated.
But they are not served to the client.
If you want, please take a look: http://www.doman.com.pl/
Thanks for any help
Comment #8
mati commentedAfter changing hosting environment to the one with PHP 5.4 everything seems to be working fine.
I suspect mod_header wasn't enabled before in Apache.
Comment #9
splash112 commentedSame problem, gzip files made but the pages still include the unzipped versions. mod_headers is loaded and phpis versions 5.3.3
Comment #10
farshid commentedHad same problem, I was testing behind a firewall (ISA) in our company, it seems to be configured to drop some headers, or something like that, thus either no headers is sent to server to get gzip or the fire wall is unpacking the gzip... js.
As if I test from out side my company network or through a proxy, the js is gziped and things are working fine.
Comment #11
libiun commentedi guess you use one styles(defined in info file), and use the @import to load other css file in the defined file, so when compressed the css, browser can't load other css files defined by @import methed. just load css files in the info file will be ok.
Comment #12
ahsan.fayyaz commentedSo I can second "farshid" comments above. This problem almost drove me crazy. Behind a proxy his comment holds true and outside the proxy it works fine
Comment #13
mikeytown2 commentedNot much can be done in this situation. D7 allows for this report message to be disabled. Reopen with the patch ported and I'll commit it.