Rawrix Networks

AboutA simple tool to minify your JavaScript and CSS
Modified14.04.2014, 18:30
Rating
(avg. 5.0)

About the concepts in this tool JavaScript

JavaScript (JS) is a dynamic computer programming language. It is most commonly used as part of web browsers, whose implementations allow client-side scripts to interact with the user, control the browser, communicate asynchronously, and alter the document content that is displayed. It is also being used in server-side programming, game development and the creation of desktop and mobile applications. (Source: Wikipedia)


CSS

Cascading Style Sheets (CSS) is a style sheet language used for describing the look and formatting of a document written in a markup language. While most often used to style web pages and interfaces written in HTML and XHTML, the language can be applied to any kind of XML document, including plain XML, SVG and XUL. CSS is a cornerstone specification of the web and almost all web pages use CSS style sheets to describe their presentation. (Source: Wikipedia)


Minification/minify

Minification (also minimisation or minimization), in computer programming languages and especially JavaScript, is the process of removing all unnecessary characters from source code without changing its functionality. These unnecessary characters usually include white space characters, new line characters, comments, and sometimes block delimiters, which are used to add readability to the code but are not required for it to execute.

Minified source code is especially useful for interpreted languages deployed and transmitted on the Internet (such as JavaScript), because it reduces the amount of data that needs to be transferred. (Source: Wikipedia)


Why should I minify JavaScript and CSS?

The amount of mobile devices is growing and therefore mobile internet browsing is growing too. Usually connection to internet is somewhat slower on a mobile device and in addition it might cost quite much to download a large bunch of data. So at least the mobile users would be quite happy if the page loads quickly and does not contain that much data.

Of course, a minified JavaScript code would be faster on any device due to the reduced amount of data that needs to be transferred.

Apps