Closed (fixed)
Project:
Advanced CSS/JS Aggregation
Version:
6.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
7 Nov 2011 at 17:42 UTC
Updated:
14 Dec 2011 at 02:00 UTC
Jump to comment: Most recent file

Comments
Comment #1
mikeytown2 commentedCSS compression enabled?
Comment #2
iamEAP commentedYup. Sane mode.
Comment #3
mikeytown2 commentedIs this a one time occurrence or does it happen all the time? I personally don't use CSS compression as I've found every single library for it to be buggy. If this is happening every time then I'm guessing it might have something to do with your severs configuration as this should be a file after the first access.
Comment #4
iamEAP commentedKind of figured. I'll look into the server configuration and report back if we find anything of note.
Regarding disabling/enabling CSS compression, can I just toggle that switch without incident or should I wait until a lower traffic period to do so?
Comment #5
j2b commentedI was trying to solve similar issues, but without AdvAgg module, which after enabling completely killed my site. Had to remove manually, and read more carefully installation. But these threads lead me to some solutions and possible problem sources:
I added configuration to DEFLATE parameter for Apache2, where it may be a reason of compression not working correctly. By the way, disabling D core page compression and enabling CSS/JS aggregation, problem appeared to disappear. Currently testing...
Comment #6
mikeytown2 commentedSounds like this issue has something to do with gzip/deflate compression. I can come up with a more complex set of .htaccess rules; ones that might work better after reading this comment. In short disable etags if mod_expires is enabled.
Disable "Generate .htaccess files in the advagg_* dirs" at
admin/settings/advaggAdd this to the bottom of your .htaccess file.
What are your settings for gzip on your server currently?
Comment #7
j2b commentedmikeytown2, thank you for your feedback. I am currently using only Apache2 settings, not .htaccess file. Is the latest significant? Apache settings implementation was out of the box for Ubuntu server 8.04, where deflate.conf contains the following lines:
And additionally I added the following, to httpd.conf file:
Latest was done without <> tags. By this I assume, that Apache now in total has the following DEFLATE settings:
AddOutputFilterByType DEFLATE text/html text/plain text/xml text/css application/x-javascriptAlthough I haven't checked setup of AdvAgg module, it seems quite stable for 1.5 days. Should there be significant gain in speed, if AdvAgg module is enabled with this my configuration? And should I still utilize .htaccess file manual configuration, to use AdvAgg module?
Additionally I noticed, that there are some differences between browsers, as mentioned in this link: http://httpd.apache.org/docs/2.0/mod/mod_deflate.html which may take place for somebody to additionaly configure specific needs.
Comment #8
mikeytown2 commentedNetscape Navigator 4.0 – June 1997
http://en.wikipedia.org/wiki/Netscape_Navigator#Release_history
I don't worry about supporting VERY old browsers.
Comment #9
j2b commentedYes, sorry, agreed, didn't check Apache version, probably soon to be unsupported. For sake of correctness and optional reference, here is Apache v2.2 documentation on Deflate module: http://httpd.apache.org/docs/current/mod/mod_deflate.html
Comment #10
mikeytown2 commentedIgnore edge cases like this. It just clutters up your server configuration.
Comment #11
mikeytown2 commentedComing from #974350-57: Far Future setting for Origin Pull mode
I think I can re-work advagg's htaccess rules to be a lot better.
Comment #12
mikeytown2 commentedThis patch has been committed.