TBCompressor is easy to install. Click install. cmd. After installation, the "Compress CSS or JS" option will appear in the right-click menu, to Compress a file, right-click the target file and choose "Compress CSS or JS. the compressed file is automatically renamed.
Here we will perform a compression test on jQuery1.3 Development. The effect is as follows:
We can see that the effect is still very good :)
Download TBCompressor
It should be noted that TBCompressor must be supported by the JAVA environment and JDK 1.4 or later must be installed.
You can go to the official website to download and selectJava SE Development Kit (JDK) JDK 6 Update 14
After downloading and next installation, You need to configure the JAVA_HOME environment variable after installation.
The configuration method is as follows:
1. Right-click my computer> Properties> advanced> environment variables> System Variables
2. Create a variable named JAVA_HOME. Path: C: \ Program Files \ Java \ jdk1.6.0 _ 14 (default installation path)
3. Find the path variable and add the path:; C: \ Program Files \ Java \ jdk1.6.0 _ 14 \ bin (a semicolon exists in front)
OK. Click OK to close the window.
Open CMD and enterJava-versionIf the version information is displayed, the configuration is successful.