Closed (fixed)
Project:
Advanced CSS/JS Aggregation
Version:
6.x-1.x-dev
Component:
CSS Compression
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
4 Mar 2011 at 09:25 UTC
Updated:
23 Mar 2011 at 02:11 UTC
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
Comment #1
mudjunky commentedsecond sentence second paragraph should read:
.... when logged in i get the standard css link tags.
Comment #2
mikeytown2 commentedHow 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.
Comment #3
mudjunky commentedi 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):
here's a sample comparison:
example @import (only when anonymous):
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.)
Comment #4
mudjunky commented(i do get the compressed js link in both themes)
Comment #5
mudjunky commentedi 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.Comment #6
mikeytown2 commentedTry again. There was a nasty bug in this last version of advagg that is now fixed.
Comment #7
mikeytown2 commentedSQL error has been fixed. Going to assume that will fix this issue.