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
13
votes
4 answers

Needed - Visual Studio Custom Build Actions To Minify JS and CSS

I've been using Combres in my applications to compress, combine and minify my javascript and css at run time. This works extremely well and satisfies YSlow perfectly. Now I'm rethinking the whole process for performance reasons, and I'm more so…
Chase Florell
  • 46,378
  • 57
  • 186
  • 376
7
votes
4 answers

Best practice for removing console.log and other debug code from your release JavaScript?

I've seen some of the console wrappers that stop errors in browser with a console and more advanced ones that enable logging in older browsers. But none that I've seen help switch on and off the debug code. At the moment I do a find and replace to…
moefinley
  • 1,248
  • 1
  • 13
  • 26
6
votes
6 answers

Combres' route (combres.axd) doesn't work

I have followed the article http://www.codeproject.com/KB/aspnet/combres2.aspx. When I run my site I cannot get the combres.axd to work ? I know that the combres is running since an incorrect file in my xml will cause an error. I am running an…
Aaron
  • 61
  • 1
  • 3
5
votes
2 answers

Dotlesscss @import statement: can't find file. Using Combres

In an asp.net mvc 3 project, i'm using Combres to combine and minify my CSS files. I'm using the dotlesscss filter for fancy css extras such as variables. However, when i try to use the dotlesscss @import statement (see importing at bottom of page),…
Simon Epskamp
  • 8,813
  • 3
  • 53
  • 58
5
votes
1 answer

Combres.axd returns 404 in WebForms app

I have 2 ASP.NET apps, 1 WebForms and 1 MVC. Combres worked beautifully for both while working locally on IIS Express. After deploying both apps to the test server (IIS 7, both apps are in the same web site in IIS) the combres.axd link referenced…
RyanW
  • 5,338
  • 4
  • 46
  • 58
5
votes
2 answers

HttpHandler generated content (axd file - bundling css/js) gives 404 error. Using Combres

I want to bundle and minify my JS/CSS files. To do this, i am using Combres. I've set up the Combres solution on my local environment, and it works there. However, when I deploy my application to the IIS, it doesn't work. Um-hm. The url I try to…
Lars Holdgaard
  • 9,496
  • 26
  • 102
  • 182
4
votes
2 answers

ASP.Net Combres and Combres MVC with Cloudfront

Currently I am using Amazon Cloudfront to service static objects on my ASP.Net MVC3 C# site. So all static resources have http://cdn.domainname.com/ appended before the resource. At the same time I am using combres and combred mvc to compress and…
4
votes
4 answers

Which one has better minification between SquishIt and Combres2?

Did anyone has the comparison between these two libraries (Combres2 and SquishIt)? If one library is better than another one, I also want to know the reason for that. I found the article said that Combres2 has a better compression than SquishIt.…
ensecoz
  • 900
  • 10
  • 16
4
votes
2 answers

dotless css reference not working in release mode (with Combress)

i'm using dotless css. This is my code .jqmWindowBig { width: 800px; height: 500px; margin-left: -400px; margin-top: -250px; .jqmWindowCommon; } .jqmWindowCommon { background-color: #EEE; color: #333; border: 1px…
Michel
  • 23,085
  • 46
  • 152
  • 242
3
votes
1 answer

Combres not fixing relative URLs despite the filter?

UPDATE : Here is an example of the CSS I think is having a problem: .ui-widget-content { border: 1px solid #aaaaaa/*{borderColorContent}*/; background: #ffffff/*{bgColorContent}*/ url(images/ui-bg_flat_75_ffffff_40x100.png)/*{bgImgUrlContent}*/…
Vishal
  • 12,133
  • 17
  • 82
  • 128
3
votes
2 answers

Combres and DotLessCssFilter

Well in short term I can't get it to work. The filter doesn't seem to apply it self. I'm trying to get combres to work with my MVC 3 razor application. And I've got everything to work except the DotLessCssFilter. In the documentation it says In…
fredrik
  • 17,537
  • 9
  • 51
  • 71
3
votes
2 answers

ASP.NET: Combres causes '$ is undefined' when jQuery is compressed

For anyone who has some know-how using Combres, this is for you: My Combres.XML looks like this:
jlrolin
  • 1,604
  • 9
  • 38
  • 67
3
votes
2 answers

Combres combine JS & CSS files but doesn't minify

hi i've just added Combres to my ASP.NET MVC project and it combines the CSS files into one CSS and the JS files into one JS file smoothly, but for some reason it does that without minification. any idea why ? (note- i just added the yui minifier.…
danfromisrael
  • 2,982
  • 3
  • 30
  • 40
3
votes
2 answers

How to Optimize Combres Settings (Compression, Minification)

Can anybody tell me the most optimal Combres settings? I've got the following but it appears as though my CSS and my JS are not being minified.
Chase Florell
  • 46,378
  • 57
  • 186
  • 376
3
votes
0 answers

Including all files within a directory with Combres

I'm using Combres to bundle a variety of JavaScript libraries, like that:
Marius Schulz
  • 15,976
  • 12
  • 63
  • 97
1
2 3