After the JavaScript code in the front page is written, unlike the C language, which is compiled into machine code, as a scripting language, JavaScript is executed directly from the source file. Usually in order to save space, you can compress the code, remove the extra space and line wrapping, etc. (the code can be written all to one line, which is a bit like the C language). The same HTML,CSS code can also be used for such compression operations.Ful
The most well-known archive/compression tool in Linux
In many cases, sending or receiving large files and images over the Internet is a headache. The compression and decompression tools can solve this problem. Next, let's quickly browse some open-source tools in Linux that make our work easier.Tar
Tar is derived from 'tape archiver, which is initially used to ar
The backup of data is a key thing in the operation and maintenance process. There is no price for data.Content:
Several compression tools
CompressUncompress
Old compression appliances are generally not available now.
gzip:. GZ Gunzip Zcat Look at the text content without pressure. Note: The source files
gzip-d file decompression files are dele
Compare with other compression tool compression rates:
1. JavaScript Compressor (http://dean.edwards.name/packer/)
With his own compression tool code as an example (v2.02) Packer compressed after a size of 7,428 bytes (remove annotation).
And our
/type option to specify the type of the generated architecture. The output architecture is named schema0.xsd and schema1.xsd. Xsd.exe generates Multiple Architectures only when the Custom Attributes of XMLRoot are used to specify the namespace for a given type.
General optionsOption description/H [elp] displays the command syntax and options of this tool./O [utputdir]: directory specifies the directory of the output file. This parameter can only appea
All functions of this tool are implemented by ttp: jscompress. sinaapp. comapi processing. (including now can use this online compression) Yesterday shared the http://jscompress.sinaapp.com/This gadgets, found that you are still very fond.
So today, I converted it into json. I used json to transmit data and opened APIs.
All functional implementations of this tool
Image compression tool: JPEG imager 2.5.2
If there is reprint, please indicate the source: http://www.cnblogs.com/flydoos/archive/2011/12/26/2301707.html
Image compression tool: JPEG imager 2.5.2
The habit of not compressing images when publishing logs. To facilitate the use of a WP plug-in to compress im
Introduction to the Compression toolCompress the server's frequently accessed files, such as Web pages, to compress and save bandwidth resourcesLinux packaging tools, suffix name in Linux does not mean the actual meaning, but in order to facilitate the separation of file types, the suffix name is a specification to name. zip. gz. bz2. XZ compression format. tar.gz. tar.bz2. TAR.XZ Packaging formatGzip
Today's mass storage card, mobile hard drive has enabled us to avoid the limited number of photos taken. But as a non-publishing use, on the Internet and the exchange of photos, need to size as small as possible, but the quality can not be very poor. Too large a picture on the page will slow down the visitor's download speed, affect browsing. At this point, we need to use image compression processing software to reduce the image weight loss, remove th
Web compression: Use the GZIP module in Apache in your Linux system. You can use the GZIP compression algorithm to compress the contents of Web pages published by the Apache server before transferring them to the client browser, which can speed up the loading of web pages after compression.Web cache: Page caching is a part of the page cache that will not change very often, and the next time the browser acce
recursively on directories (sets also-m)-l:compress using Legacy format (Linux kernel compression)-b#: Block size [4-7] (Default:7)-bd:block dependency (improve compression ratio)--no-frame-crc:disable Stream Checksum (default:enabled)--content-size:compressed frame includes original size (Default:not present)--[no-]sparse:sparse mode (default:enabled on file, disabled on stdout)Benchmark arguments:-b#: Be
] ~]# ls1.txt 2.txt All.tar TestIt can be seen that packaging does not disappear, and gzip and bzip2 after decompression the package disappears C is to create a package meaning X is to untie a package meaning V is the meaning of visualization, can be omitted.. tar.gz need to be named can be understood as first packaged with tar, then gzip compressedPack first and then compress in gzip format[Email protected] ~]# TAR-ZCVF all.tar.gz 1.txt 2.txt test1.txt2.txttest/Test/1.txt[[email protected] ~]#
Yuicompressor is written in pure Java and needs JDK or later to analyze and cut the JavaScript source file based on Rhino. Js and css compression tool yuicompressor 2.46
Introduction
Http://developer.yahoo.com/yui/compressor/
JS and css compression tools yuicompressor
Latest Version: 2.4.2
Run the need to install JDK first, official: http://www.oracle.com/technet
Tags: change tar settings share picture PNG Delete visualization work bodyZip compression toolSupport compression directory, do not delete the original file after compressionPreparatory work:Install the ZIP package and unzip package with the Yum-y install zip unzip and copy the large files to the Aminglinux directoryZip 1.txt.zip 1. txt: Compressed filesZip-r aming.zip 1.txt aminglinux/: Files and directori
Test results:Protobuf length: 115Binaryformatter length: 1177Xmlserializer length: 814XML length: 825After testing the compression ratio of various serialization schemes, we can see that the size of protobuf after serialization is one of the eight points in the original XML format and one of the eight points after XML serialization, it is one of the 10 points of
1. Lossless picture Compression Master v1.4
Lossless image compression Master (batch image compression software) can compress most of the market picture format of the picture compression software, a 2M jpg digital photos, you can compress to 200KB or so, after the compression
UGLIFYJS
UGLIFYJS is a code compression tool built on the NODEJS server, which is currently compressed by jquery and has a better compression effect.
GitHub Home: http://github.com/mishoo/UglifyJS/
Online use: HTTP://MARIJNHAVERBEKE.NL/UGLIFYJS
How to use:
Download Nodejs from http://nodejs.org and use Node.exe
and download its latest version from UGL
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.