Questions tagged [combres]

.NET library which enables minification, compression, combination, and caching of JavaScript and CSS resources for ASP.NET and ASP.NET MVC web applications. Simply put, it helps your applications rank better with YSlow and PageSpeed.

Many web developers are probably aware of various website optimization techniques described in this Yahoo Developer Network article and/or Steve Souders' book. Most of these techniques are very simple, yet bring about huge difference to the downloading time of most web pages. As simple as they are, applying some of these rules again and again in all .NET web applications can easily become a tedious task. Combres automates many steps that you would have to do yourself when applying many optimization techniques in your ASP.NET MVC and Web Form applications.

40 questions
2
votes
1 answer

combres creates links to files in head element but page renders with no styles or scripts

My asp.net MVC 3 site using Combres renders fine on my workstation. When I compile the same code on my laptop the combres links are there with the correct paths, but the page renders without styles. When I use firebug on the site that works I get…
2
votes
2 answers

Combres doesn't put etag on content, why?

I have just used the Combres library in my project to minify the css and js files, and basically optimize the page a bit. Everythere I read about the Combres I see that it sends the etags together with the resources it optimizes, and yet when I…
domderen
  • 633
  • 9
  • 22
2
votes
3 answers

Can't minify with Combres and yui

I am not sure how to find out more about whats wrong with my .js file, but if I turn "defaultDebugEnaled = true" then it works fine, but putting it to false makes me get this error And I can't seem to toggle anything to make it give me a more…
Mech0z
  • 3,627
  • 6
  • 49
  • 85
2
votes
1 answer

Facing issue while trying to Cache images js files using Combres Nuget Package

Below is my Fidler. If you pay attention to the above screenshot, js and css files are being downloaded on every refresh. Why? I have a query about the functionality of Combres. Url.Combress can cache the css files. right? In case you remove the…
SMC
  • 237
  • 1
  • 5
  • 29
1
vote
2 answers

Combres, compress and combine .js and .css files

I'm trying to add the following to my ASP.Net solution. I installed it using the nuget package "Install-Package Combres.Mvc" so far I'm not having the best luck with it as I keep getting the following error 'System.Web.Mvc.HtmlHelper' does not…
Rohan Büchner
  • 5,333
  • 4
  • 62
  • 106
1
vote
2 answers

Combres js urls too long for Chrome Developer tools

Due to the url length for js resources on my local dev site, it's really annoying to try to find the script I'm looking for. I'm using combres 2.2.2.4. Here's my relevant combres.xml section:
llaughlin
  • 511
  • 7
  • 15
1
vote
1 answer

Combres 2, 404 error

Am trying to get combres working with my .net 4 web form on IIS 7. Everything is working locally, however when made the site live the following path comes up with 404 error www.mydomain.co.uk/combres.axd/siteCss/-1938526509/ But if i remove the…
Chris
  • 470
  • 1
  • 10
  • 19
1
vote
1 answer

ASP.NET MVC3 Combres error: 'System.Web.Mvc.UrlHelper' does not contain a definition for 'CombresLink'

I am trying to set up Combres on an Asp.Net MVC 3 site following this tutorial from their documentation. I followed all of the steps, but when I run I get the following error: Compilation Error Description: An error occurred during the compilation…
NetHawk
  • 1,392
  • 1
  • 15
  • 33
1
vote
0 answers

Error in content downloading, IIS 7.5 + ASP.NET MVC

My web-application has been written in ASP.NET MVC 3 (also we used ASP.NET Sprite & Combres). It's all right in testing on local IIS 7.5 (and on dev-server of Visual Studio). But we have an error with content downloading (css and js files) if we use…
1
vote
1 answer

Is it possible to have several CSS files reuse the same variables with Combres and Dotlesscss?

I've used Combres for a while and really like it. And now I've started to use Dotlesscss filter as well to enable variables and more readable code that can hopefully stay clean and readable... One nice advantage with Combres is that splitting large…
Mats
  • 13
  • 2
1
vote
1 answer

The remote host closed the connection

We saw "The remote host closed the connection" in our error logs with: The error code is 0x80070040 The error code is 0x800703E3.(most of) We are using combres for Javascript-Css minification, compression and cache. Size of minified and compressed…
Oguz Karadenizli
  • 3,449
  • 6
  • 38
  • 73
1
vote
0 answers

Using js/css compression frameworks at both asp/aspx files

I have a website which has both asp and aspx pages. Can I use System.Web.Optimization, Combres etc frameworks for both. Another problem is that these pages doesn't have code-behind as they are generated from the same template at deployment time.…
iMatoria
  • 1,450
  • 2
  • 19
  • 35
1
vote
0 answers

js and css cached in combres

I have implemented combres in my website (MVC3). The problem is everytime I change something in javascript I need to clear the browser cache to reflect my changes. If any changes are there in js and css, the browser should automatically refresh the…
Shanky
  • 331
  • 1
  • 4
  • 17
1
vote
0 answers

How to add JavaScript Source Maps to Combres resourceSet

I want to include jQuery *.map file to my Combres JS resourceSet but I don't know how to achieve that. Combres only supports, as far as I know, only JS and CSS files. And *.map file isn't any of those two. Is it possible to add *.map file ? This…
Miro
  • 1,778
  • 6
  • 24
  • 42
1
vote
0 answers

Change dependencies on NuGet package

I recently tried to upgrade my log4net to the new 2.0.0 version. but I wasn't able to do so, cause I have another library (combres.mvc) that has a dependency for log4net 1.2.11 Install failed. Rolling back... Updating 'log4net 1.2.11' to 'log4net…
user730895
  • 13
  • 1
  • 6