minify

What's the best way to minify the ASP.NET generated Javascript?

What's the best way to minify the ASP.NET generated Javascript, such as the ones served by webresource.axd, in ASP.NET 3.5 at runtime? I tried using the MbCompression module but it's not working with those resources. ...

Speeding up FCKEditor

Does anyone have a technique for speeding up the FCKEditor? Are there some key JavaScript files that can be minified or removed? ...

jQuery compiled with Google Closure Compiler

Has anyone compiled jQuery against Google's newly-released Closure compiler? There has been reported huge savings in code size. I'm curious what the benefit is if jQuery was compiled with it. ...

How to use Google's Closure to compile JavaScript

Google just released Closure, which is a compiler to minify JavaScript. On the product site, it says "The Closure Compiler has also been integrated with Page Speed". How do I use Page Speed to compile my web pages JavaScript with Closure? (Or, is there a web site that I can simply paste in my JavaScript to have closure minify it? ...

Equivalent of "Google Closure Compiler" for HTML?

Is there an equivalent of Google's Closure Compiler for HTML minimizing? ...

XML Minify in .NET

I'd like to read in the following XML: <node></node> And then write it out, minified, like this: <node/> Obviously this has the same meaning, but the second file is smaller for sending across the wire. I'm trying to find a way to do this in .NET. I can't seem to find an option or setting that would drop unnecessary closing tags. ...

One click closure windows tool to compile all js files in folder

Is there a tool or a bat file or some such that allows one click to compile all js files inside a folder into one compiled js file? Thanks. ...

Best way to combine and minify JS / CSS on Heroku

First of all, according to this answer, the :cache => true option on stylesheet_link_tag and javascript_include_tag doesn't work on Heroku. Is this true? I've found :cache => true to work occasionally, but not always (weird!) Also, what's the best solution here? Ideally it would seamlessly combine and minify all CSS / JS. Heroku Asset ...

Ajax Minifier Visual Studio include all javascript files

I am using the Ajax Minifier http://www.ajaxprojects.com/ajax/tutorialdetails.php?itemid=766 and have embedded it in the csproj file for use in Visual Studio 2008 (not the free version). I have two folders, Content and Scripts, directly under the root of the project. Also, the Content folder has subfolders, and would like to include all ...

YUI Compressor in low memory environment

Is there a way to reduce the memory required by the YUI compressor or is there another compressor able to run via command line in "low" memory environments? My hosting provider has limits on the amount of memory and virtual memory I can use from the shell. Currently it looks like: ulimit -m 200000 -v 200000. The -v argument is the one...

Minify inline javascript during build for ASP.net?

We have a handful of ASP.net pages that include more than 50+ lines of javascript specific to that page. We'd like to minify that javascript during our CruiseControl build process. We already use the YUI Compressor to compress our full javascript and css files. But we can't figure out how to do the Inline javascript. Is there an MSBu...

Why would Google use a font tag?

So, I couldn't help noticing while demonstrating Chrome's DOM browser thing to my brother, that Google uses a <font size=-2> tag. I know this is a stupid question, but from a programming point of view--why would they use a deprecated tag on Google? Is it because it's smaller than using <p class="whatever"> and then creating a style for ...

Fade effect onclick (jQuery)

I have this very basic tabbed block: $('.tabbed-section .panel').hide(); $('.tabbed-section .panel:first').show(); $('.tabbed-section .tabs li:first').addClass('active'); $('.tabbed-section .tabs li a').click(function () { $('.tabbed-section .tabs li').removeClass('active'); $(this).parent().addClass('active'); var currentTa...

Combining deflate and minify - am i creating overhead?

I minify my css and js files on the fly with google.codes minify. I have also set my .htaccess to use deflate on all my css and js files - the reason beeing some js files (like shadowbox and tinymce) reference to other js files in the code. So i'm compressing with apache deflate and also minify compresses some js and css files with gzip ...

Google Closure minifier online?

Has anyone setup an online copy/paste utility for Google's Closure minifier? I'm working on a project and I want to minify part of the code manually without having to setup the entire project on my own. ...

Enumerating Folders With MSBuild

Hello, I am coming up on the end stages of an Asp.Net MVC 1.0 project in VS2008 / Framework 3.5, and trying to do some performance optimizations. In my project, I have a few different "themes" that are used, depending on the role of the logged in user. My themes folder structure is like so... \Themes \Theme1 \Css ...

Minify / Obfuscate PHP Code

Hi, I use haXe to generate php code. (This means you write you code in the haXe language and get a bunch of php files after compiling.) Today a customer told me that he needs a new feature on a old project made with haXe. He also told me that he altered some small things on the code for his own needs. Now I first have port his changes t...

Minify HTML output from an ASP.Net MVC Application

This is likely a duplicate of the below question but the only answer is a dead link: http://stackoverflow.com/questions/255008/minify-html-output-of-asp-net-application When working with ASP.Net one of the more annoying aspects to me is the fact that Visual Studio puts spaces instead of tabs for white spacing which increases the size of...

Why is Magento 1.4 including javascript files by filesystem path?

I am in the process of testing a Magento 1.3 site using Magento 1.4. I am seeing very weird and inconsistent behavior. Instead of including the URL of my javascript files, Magento is creating tags with the full filesystem path of the js files, as so: <script type="text/javascript" src="/home/my_username/public_html/js/prototype/prototyp...

How can i get source from a minified javascript file?

I used online YUI Compressor for minifying my javascript file... Now i got minified version of it but i lost the source as i uploaded the source javascript file without taking a copy of it... How can i get source from a minified javascript file? ...