Issue 1050 in modpagespeed: CSS removed from site

30 views
Skip to first unread message

modpag...@googlecode.com

unread,
Feb 24, 2015, 11:45:15 AM2/24/15
to mod-pagesp...@googlegroups.com
Status: Accepted
Owner: slig...@google.com
CC: lmaronce...@gmail.com
Labels: Type-Defect Priority-Medium

New issue 1050 by slig...@google.com: CSS removed from site
https://code.google.com/p/modpagespeed/issues/detail?id=1050

From lmaroncelli:

<link rel="stylesheet" type="text/css"
href="www.info-alberghi.com/css/style.css">

is replaced with:

<style></style>

on:

http://www.info-alberghi.com/

which is on version: 1.9.32.2-4321



Here's the context for the missing <link>:

<script type="text/javascript">

var _gaq = _gaq || [];
_gaq.push(['_setAccount', 'UA-2007570-1']);
_gaq.push(['_setDomainName', 'info-alberghi.com']);
_gaq.push(['_setAllowLinker', true]);
_gaq.push(['_trackPageview']);

(function() {
var ga = document.createElement('script'); ga.type = 'text/javascript';
ga.async = true;
ga.src = ('https:' ==
document.location.protocol ? 'https://ssl' : 'http://www')
+ '.google-analytics.com/ga.js';
var s = document.getElementsByTagName('script')[0];
s.parentNode.insertBefore(ga, s);
})();

</script>
<style></style>
<script type="text/javascript"
src="http://ajax.googleapis.com/ajax/libs/jquery/1.8.3/jquery.min.js"></script>


--
You received this message because this project is configured to send all
issue notifications to this address.
You may adjust your notification preferences at:
https://code.google.com/hosting/settings

modpag...@googlecode.com

unread,
Feb 24, 2015, 1:02:38 PM2/24/15
to mod-pagesp...@googlegroups.com

Comment #1 on issue 1050 by slig...@google.com: CSS removed from site
https://code.google.com/p/modpagespeed/issues/detail?id=1050

As Jeff noted, this is producing very strange results:

?PageSpeed=off
<link rel="stylesheet" type="text/css"
href="http://www.info-alberghi.com/css/style.css">

?PageSpeed=on
<style></style>

?PageSpeedFilters=+debug (First load)
<link rel="stylesheet" type="text/css"
href="http://www.info-alberghi.com/css/style.css"><!--deadline_exceeded for
filter CacheExtender--><!--deadline_exceeded--><!--deadline_exceeded for
filter CssFilter-->

?PageSpeedFilters=+debug (Second load)
<style></style><!--CSS rewrite failed: Cannot improve
http://www.info-alberghi.com/css/style.css-->

modpag...@googlecode.com

unread,
Feb 24, 2015, 1:30:29 PM2/24/15
to mod-pagesp...@googlegroups.com

Comment #2 on issue 1050 by slig...@google.com: CSS removed from site
https://code.google.com/p/modpagespeed/issues/detail?id=1050

?PageSpeedFilters=debug,inline_css
<link rel="stylesheet" type="text/css"
href="http://www.info-alberghi.com/css/style.css"><!--CSS not inlined since
it&#39;s bigger than 2048 bytes-->

?PageSpeedFilters=debug,rewrite_css
<link rel="stylesheet" type="text/css"
href="http://www.info-alberghi.com/css/A.style.css.pagespeed.cf.aDqQRUaJ0h.css">

?PageSpeedFilters=debug,extend_cache_css
<link rel="stylesheet" type="text/css"
href="http://www.info-alberghi.com/css/style.css">

Note resource has 1 year cache lifetime.

modpag...@googlecode.com

unread,
Mar 10, 2015, 4:33:48 PM3/10/15
to mod-pagesp...@googlegroups.com

modpag...@googlecode.com

unread,
Mar 10, 2015, 4:36:13 PM3/10/15
to mod-pagesp...@googlegroups.com
Updates:
Cc: martinco...@gmail.com

Comment #4 on issue 1050 by slig...@google.com: CSS removed from site
https://code.google.com/p/modpagespeed/issues/detail?id=1050

The new report is for <script> instead of <style> so this applies to both
types of resources. We suspect it could be an issue with IPRO recording,
but have not been able to reproduce yet.

modpag...@googlecode.com

unread,
Mar 11, 2015, 10:50:36 AM3/11/15
to mod-pagesp...@googlegroups.com

Comment #5 on issue 1050 by slig...@google.com: CSS removed from site
https://code.google.com/p/modpagespeed/issues/detail?id=1050

Both users report that this is still an issue with IPRO disabled.

modpag...@googlecode.com

unread,
Mar 13, 2015, 10:37:06 AM3/13/15
to mod-pagesp...@googlegroups.com

Comment #6 on issue 1050 by slig...@google.com: CSS removed from site
https://code.google.com/p/modpagespeed/issues/detail?id=1050

Actually, after following up further it seems that disabling IPRO did fix
this problem for both users. Trying to get them to re-enable IPRO in a
limited setting to let us debug.

modpag...@googlecode.com

unread,
Apr 8, 2015, 2:23:26 PM4/8/15
to mod-pagesp...@googlegroups.com

Comment #7 on issue 1050 by jcro...@google.com: CSS removed from site
https://code.google.com/p/modpagespeed/issues/detail?id=1050

this issue has been migrated to github:
https://github.com/pagespeed/mod_pagespeed/issues/1050
Reply all
Reply to author
Forward
0 new messages