PDA

View Full Version : [CLOSED] Minify Javascript



supera
Aug 03, 2012, 7:51 PM

Daniil
Aug 04, 2012, 9:54 AM
Hi,



I'm follow this article:


Seems you didn't post a link to the article, isn't that so?

geoffrey.mcgill
Aug 05, 2012, 4:02 AM
By default, all Ext.NET and ExtJS scripts are minified and gzipped.

Vladimir
Aug 05, 2012, 5:35 PM
Only separate UX and locales are not minified

supera
Aug 06, 2012, 11:13 AM
Hi Daniil!!!

The article is this: http://blogs.msdn.com/b/webdev/archive/2011/02/24/how-to-compress-css-javascript-before-publish-package.aspx

supera
Aug 06, 2012, 11:16 AM
Hi Vladimir/Geoffrey

Well... if you click in links on my first post, you can see the javascript... are not minified...

You suggest any thing about this???

Vladimir
Aug 06, 2012, 5:32 PM
Please see my previous answer


Only separate UX and locales are not minified

supera
Aug 06, 2012, 6:22 PM
Hi Vladimir... thanks for your answer...

separed UX and locales can be minified? Can I do it by myself before compile Ext.net Dll?

Vladimir
Aug 06, 2012, 6:33 PM
Yes, of course, you can minify it manually (if it is required) before Ext.Net build
By the way, Ext.Net resource handler zips scripts and set cache directive to response therefore effect from small files minifing will be minimal

supera
Aug 06, 2012, 6:49 PM
Ok...

I will try do this!

Thanks a lot!

tonytong
Dec 10, 2015, 2:12 AM
Yes, of course, you can minify js (http://www.online-code.net/minify-js.html) manually (if it is required) before Ext.Net build
By the way, Ext.Net resource handler zips scripts and set cache directive to response therefore effect from small files minifing will be minimal

Thanks, it helps me a lot.