문제

It is my first time I want to enable jQuery, Javascript and CSS files compression

but I don't exactly know where to start I searched the net but there was not a detailed example that I could implement that in my project. Please Help me that how can I enable jQuery, Javascript and CSS files compressions?

1-In windows servers?

2-In Appache Servers?

also can I enable it through .htaccess files?

도움이 되었습니까?

해결책

You can use the following:

http://www.jsmini.com/

Google released Closure Compiler which seems to be generating the smallest files: https://code.google.com/p/closure-compiler/

or http://yuilibrary.com/download/#yuicompressor

다른 팁

Use Yahoo compressor here is the link: http://yui.github.io/yuicompressor/ for compressing your web pages javascript or jQuery files

or use this JASOB here is the link: http://www.jasob.com/

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top