Closed (works as designed)
Project:
Fusion
Version:
6.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
12 May 2011 at 00:56 UTC
Updated:
15 Apr 2014 at 18:32 UTC
Jump to comment: Most recent
Comments
Comment #1
aquariumtap commentedHi Mike. Do you mean something like this?
Is the system variable 'preprocess_css' the performance setting for aggregating CSS? Does advagg need that set to TRUE?
Comment #2
aquariumtap commentedMike, if it's about this issue: #1150150: AdvAgg - Fusion Core theme - Lost local.css?
It seems alexbk66 already disabled fix_css_limit ("Avoid IE stylesheet limit"), which would bypass that entire block of code, the same way
!module_exists('advagg')would.Comment #3
mikeytown2 commentedUse
variable_get('advagg_enabled', defined('ADVAGG_ENABLED'))instead of!module_exists('advagg'). It's part of that issue... skipping the "grouped import setting" would be a performance thing because it wouldn't build the CSS output twice. It's similar to #1142770: Seven Theme - Performance tweek & advagg fix.BTW with advagg if you have the correct permissions you can do
?advagg=0and it will turn off aggregation just for that page load; and it will only do the @import trick if it's IE. I find it very useful for debugging in a production environment.The other thing that advagg has is the ability to set CSS prefixes/suffixes (think IE fixes), although you have to do that in hook_advagg_css_extra_alter.
In short I'm hunting around for feature requests for things that drupal_add_css/js should do. Another cool thing I did is you can use drupal_add_js to add a script to any part of the page; not just the header or the footer; no theme implementation required for it to work.
Comment #4
alexbk66- commentedHi guys,
I asked the question on DC forum http://commons.acquia.com/discussion/advanced-cssjs-aggregation-and-dc
As there's no replies, I think I ask it here.
Is there any reason why the following css files are not inclused in advagg?
hobbyblob.com/profiles/drupal_commons/themes/acquia_commons/css/grid16-fluid.css
hobbyblob.com/profiles/drupal_commons/themes/acquia_commons/css/local.css
hobbyblob.com/profiles/drupal_commons/themes/fusion_core/css/grid16-fluid.css
I added the following code in my module, but it doesn't make any difference, not sure if it's the right way to do it anyway:
Comment #5
osopolarI understand that local.css is not aggregated and as long as you don't have a local.css there will be no problem. But why isn't the gridxxx.css inculded?
Comment #6
Poieo commented