i'm getting the compressed links in garland (in the admin), but when i view the site on my custom theme, i get the regular links.

also, when viewing the site anonymously in FF 3.6, i get @import links instead of
to include the css files. when logged in i get
(not sure if this is supposed to be like this, but i thought @import links are a no-no these days.) i haven't tried in garland anonymously.

Comments

mudjunky’s picture

second sentence second paragraph should read:

.... when logged in i get the standard css link tags.

mikeytown2’s picture

How many CSS files do you have loading on a page? advagg has unlimited css built in. @import works around an IE bug. D7 does the same, it uses @import as well.

Can you paste the raw html showing the differences? put between < code > tags.

mudjunky’s picture

i have 35-57 css files. 35 anonymous, 37 logged in

i compared the output from both and had 2 extra when logged in (as expected):

<link type="text/css" rel="stylesheet" media="all" href="/sites/all/modules/admin_menu/admin_menu.css?L" />
<link type="text/css" rel="stylesheet" media="all" href="/sites/all/modules/flag/theme/flag.css?L" />

here's a sample comparison:

example @import (only when anonymous):

<style type="text/css" media="all">
@import "/modules/system/defaults.css?L";
</style>

example link (when logged in):

<link type="text/css" rel="stylesheet" media="all" href="/modules/system/defaults.css?L" />

i don't get the compresed link unless i'm in /admin using Garland. i would get the compressed link in both themes using css_gzip, if that helps.

(fwiw, css_gzip would compress each file into one line and aggregate them all into a single file.)

also, check this out.. maybe that's a different issue though.
http://code.google.com/speed/page-speed/docs/rtt.html#AvoidCssImport

(i used ie_css_optimizer for theme development in IE too.)

mudjunky’s picture

(i do get the compressed js link in both themes)

mudjunky’s picture

i got this sql error when running update.php

user warning: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'WHERE filename_md5 = '96798a2161649c0db649f3d7ed7c5b2b'' at line 1 query: UPDATE advagg_files SET checksum = '82a0944588e5f30ca0734e2364329701', counter = counter + 1, WHERE filename_md5 = '96798a2161649c0db649f3d7ed7c5b2b' in /sites/all/modules/advagg/advagg.module on line 516.

mikeytown2’s picture

Status: Active » Postponed (maintainer needs more info)

Try again. There was a nasty bug in this last version of advagg that is now fixed.

mikeytown2’s picture

Status: Postponed (maintainer needs more info) » Fixed

SQL error has been fixed. Going to assume that will fix this issue.

Status: Fixed » Closed (fixed)

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