mwrock / RequestReduce

Instantly makes your .net website faster by reducing the number and size of requests with almost no effort.
www.requestreduce.org
Apache License 2.0
228 stars 49 forks source link

Strange result, double header, keeps original js/css #253

Open TimGeyssens opened 11 years ago

TimGeyssens commented 11 years ago

Hey,

Trying to get RequestReduce running on an Umbraco site but getting some strange results (double header, keeps original js/css)

Here is the html with it in place

<!DOCTYPE html>
<html lang="en">
<head>
<title>WebLab</title>
<meta charset="utf-8">
<link rel="shortcut icon" type="image/x-icon" href="/css/images/favicon.ico">
<link href="/RequestReduceContent/fd9ac563b523c1fe02d83b704eb4866d-4e1958cf3c0f42d5aa3a220ea5fe7603-   RequestReducedStyle.css" rel="Stylesheet" type="text/css" /><script src="/RequestReduceContent/527f4a8d575466460fcc0a279abec1fe-69e1a824bbd4d614a5abbd1f5a9f461c-RequestReducedScript.js" type="text/javascript" ></script><!--[if lt IE 9]><script src="/scripts/modernizr.custom.js">      </script><![endif]-->
</head>
<!DOCTYPE html>
<html lang="en">
<head>
<title>WebLab</title>
<meta charset="utf-8">
<link rel="shortcut icon" type="image/x-icon" href="/css/images/favicon.ico">
<link rel="stylesheet" href="/css/style.css" type="text/css" media="all">
<link rel="stylesheet" href="/css/flexslider.css" type="text/css" media="all">
<script src="/scripts/jquery-1.7.2.min.js"></script>
<!--[if lt IE 9]><script src="/scripts/modernizr.custom.js"></script><![endif]-->
<script src="/scripts/jquery.flexslider-min.js"></script>
<script src="/scripts/functions.js"></script>
</head>
<body>

How can I debug this?

TimGeyssens commented 11 years ago

If you want to have a test site please check https://github.com/TimGeyssens/OptimusLite

mwrock commented 11 years ago

This sounds like there is another request filter in the mix not playing nice with others. In a CMS there are often other modules that implement request filters.

One thing to try is changing the ordering of the module declarations in the web.config and put the rr first or last. Also try disabling certain features or extensions that alter the output and you may be able to identify the conflict.

Sent from my Windows Phone


From: TimGeyssensmailto:notifications@github.com Sent: ‎7/‎15/‎2013 7:32 AM To: mwrock/RequestReducemailto:RequestReduce@noreply.github.com Subject: [RequestReduce] Strange result, double header, keeps original js/css (#253)

Hey,

Trying to get RequestReduce running on an Umbraco site but getting some strange results (double header, keeps original js/css)

Here is the html with it in place

<!DOCTYPE html>

WebLab WebLab How can I debug this? --- Reply to this email directly or view it on GitHub: https://github.com/mwrock/RequestReduce/issues/253
TimGeyssens commented 11 years ago

Appears to be due to the html, if I simplify it, it works fine