minify

Maven plugin for versioning and minifying javascript

Single Page Javascript Application I have built a sophisticated ajax-driven single page webapp that uses a RESTful backend web service serving JSON. The javascript is split into many different files, each file representing some sort of feature or component. While the service has been in alpha testing, I've just be serving all these fil...

Using Optimized CSS and JS by Drupal for other files outside Drupal

Hi! I think my question would be better laid if I write here the scenario of our current set up and the things I want to achieve. We have a Drupal 6 site and freemarker files that are using the same theme as Drupal. Now I have to optimize the loading and reduce the file dependencies of the freemarker files to CSS and JS. I was told to us...

The YUI maze: How do I get my CSS minified?

What steps should I follow to be able to minify CSS from the command line (Windows or Solaris)? ...

Auto minify Javascript/CSS files after update?

I know of ways to minify JS and CSS files but is there a way to auto-minify these files in the production system? For instance, I modify something inside the original JS files and update the production environment. However, while using the JS files, it should use an auto-minified version of the JS file (preferably update the current mini...

Awesome HTML minifying function but causes problem at Google Adsense ads - Very Important !

function works perfectly. it makes source code single line. but problem is about Google Adsense ads. their locations get messed up. what might be the reason ? programming language is c# asp.net 4.0 here the function protected override void Render(HtmlTextWriter writer) { if (this.Request.Headers["X-MicrosoftAjax"] != "Delta=tr...

Running the same plugin multiple times in Maven

I'm using maven-minify-plugin. It can produce only one output file. I need to produce two minified js files. One from one set of files, the other from another set of files. Can I somehow trick Maven into running two different configurations for the same plugin? Thanks for help, Yuri. ...

Nicer way to deploy a minified Chrome extension

When deploying an extension I follow various steps : copy to a temporary folder all the files, copy/paste back and forth the code to the on-line minifiers / obfuscators and create the zip to be uploaded. It's obvious that this could be simplified with scripting, but my experience on Windows scripting is very limited (most of my experien...

Minify JavaScript code through C# - ASP.NET

Hello, I'm trying to write a templated user control that get's as a template the js code from the user, And minifies it on the fly (OnInit), and actually prints the minified JS. That means that I need a code that receives a string, and returns a string. All I found untill know are programs that uses the input \ output from the hard-d...