Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
TimGeyssens opened this issue Jul 15, 2013 · 3 comments
Open

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

TimGeyssens opened this issue Jul 15, 2013 · 3 comments

Comments

@TimGeyssens
Copy link

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
Copy link
Author

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

@mwrock
Copy link
Owner

mwrock commented Jul 15, 2013

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

<title>WebLab</title> <script src="/RequestReduceContent/527f4a8d575466460fcc0a279abec1fe-69e1a824bbd4d614a5abbd1f5a9f461c-RequestReducedScript.js" type="text/javascript" ></script> <title>WebLab</title> <script src="/scripts/jquery-1.7.2.min.js"></script> <script src="/scripts/jquery.flexslider-min.js"></script> <script src="/scripts/functions.js"></script>

How can I debug this?


Reply to this email directly or view it on GitHub:
#253

@TimGeyssens
Copy link
Author

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants