CommentFileSizeAuthor
#17 google speed.jpg223.96 KBdevelway
ugly advagg.jpg57.53 KBdevelway
css advagg.jpg74.86 KBdevelway
Support from Acquia helps fund testing for Drupal Acquia logo

Comments

mikeytown2’s picture

What are the steps needed to repo this from a bare drupal install?

mikeytown2’s picture

Title: Advagg CSS above all CSS that show DOM in ugly aspect » AdvAgg css link tag is outside of header
Status: Needs work » Postponed (maintainer needs more info)

I'm thinking that something is wrong with your theme's html.tpl.php file. If you disable or uninstall advagg does it still happen?

develway’s picture

If ADVAGG is disabled, everything fine!!!

mikeytown2’s picture

Thats with cores aggregation turned on as well?

develway’s picture

Where is this option "cores aggregation"? or did you mean "Use cores grouping logic"

mikeytown2’s picture

With advagg disabled/uninstalled go to admin/config/development/performance and under Bandwidth optimizations check aggregate and compress css

develway’s picture

Man it's always activated in production :) go to admin/config/development/performance and under Bandwidth optimizations check aggregate and compress css,
we don't resolving problems of Drupal... HERE the problem is when advagg enabled, then occur horrible things :)

mikeytown2’s picture

What theme are you using?

develway’s picture

Nothing special, the theme i created by myself that based on Bootstrap, my theme compatible with all modules from drupal.org, with advagg works fine also but i have right now just one problem and at the moment i don't know how hide this ugly aspect when DOM loads, it' happens just for few seconds and then works everything OK.
I am looking for this solution https://github.com/filamentgroup/loadCSS maybe will works :)

mikeytown2’s picture

The advagg modification submodule has an option to use loadCSS.

In order to fix this problem I'll need to see the contents of your html.tpl.php file or the contents of this function template_process_html. My guess is the variable you're using for $variables['styles'] is called something else.

My guess is If you were to use the CDN module you'd get the same issues you're seeing with advagg.

develway’s picture

Here my html.tpl.php, template_process_html i don't use it in template.php

mikeytown2’s picture

Do you have the advagg modifications module enabled? admin/config/development/performance/advagg/mod

Under CSS do you have the experimental settings enabled?

develway’s picture

modifications module enabled!!!
I tried all options, but nothing happens, i mean nothing that could resolve my problem.

mikeytown2’s picture

Disable the experimental settings under CSS. If you enable it, then loadCSS will be used and that sounds like what is happening.

develway’s picture

Disabled or enabled the experimental settings under CSS, the result is the same :)

mikeytown2’s picture

Try disabling the advagg modifications module.

develway’s picture

FileSize
223.96 KB

The score from Google is very good, but the problem persist :)

mikeytown2’s picture

After viewing the source of your site the issue is with https://www.drupal.org/project/css_delivery

develway’s picture

mikeytown2 i appreciate your help, don't worry about nothing from this moment, your module works fine!!!
I am testing website with very very slow internet connection which maybe doesn't exist at the moment or have low count of people in the world, i will find any solution for this when i have time.
Thank you and i wish you all the best!!!

mikeytown2’s picture

Status: Postponed (maintainer needs more info) » Closed (works as designed)
develway’s picture

You right problem was generated by https://www.drupal.org/project/css_delivery or better say my problem don't understand how it's works, there is option under User-defined CSS, that allows to add USER DEFINED CRITICAL CSS.
This added CRITICAL CSS will loads always first, problem resolved.