Loading...

Minify

Minify will compress your code output to render a smaller file size of your original code. In modern websites, minification is almost mandatory to increase load speeds and lower download times of files.

Layer Kit Pro Options

Export Kit Pro Output Options

Its very common to minify your CSS, JSON and JavaScript files, but you can minify almost anything.

NOTE: Not all environments support Minify, eg. with Android minify is pointless.

Enabled

If enabled, this will remove all extra and unnecessary characters from the code output, mainly whitespace is most cases.

Example Minified Layer View

1
"layer":{ "type":"image", "src":"../skins/exportkit_sample_123/header_bg_copy_3.png", "name":"header_bg_copy_3", "x":-410, "y":58, "width":2003, "height":797 }

Layer Views are NOT a full minify. The reason is that you are converting an individual layer, so we expect that you will cut-and-paste along with possibly modify properties. The extra (space) between properteis makes it easier to modify the layer code.

Example Minified Export Output

1
"layer":{"type":"image","src":"../skins/exportkit_sample_123/header_bg_copy_3.png","name":"header_bg_copy_3","x":-410,"y":58,"width":2003,"height":797}

Export Outputs use FULL minification. All extra and unnecessary characters are removed.

Disabled

If disabled, your content will render normally with all line-breaks and whitespace characters.

1
2
3
4
5
6
7
8
9
"layer":{
    "type":"image",
    "src":"../skins/exportkit_sample_123/header_bg_copy_3.png",
    "name":"header_bg_copy_3",
    "x":-410,
    "y":58,
    "width":2003,
    "height":797
}

When To Use Minify

Some environments do not require minified code, and can lead to unexpected results in your output. Your project requirements will determine if you require minification, and which files should minify. Eg:

If you minify JSON, this will make the file:

  • smaller
  • faster to load on the server

If you minify XML, this will make the file:

  • unreadable
  • difficult to update

LOGIN NOW: You need to login so your progress is tracked with Online Training - click here.

Products For Android Professionals


android_pack

Android Pack

android_pack

Android Pack (6 Months)

android_pack

Android Pack

Need a custom solution?

Try our Shop!

Using the Plugin

Layer Support

Layer Tags

How To Guides

Optimization Tips

Help Us Improve


We aim to keep our content relevant with useful information, examples, samples and links. Tell us what you think!

I found the content:

Helpful
Confusing
Outdated
Broken Links
Bad Spelling
Too Short
Too Long

This page needs:

Nothing
Better Content
Links
Examples
Videos

Free Download


One Pager Website

A clean professional single page website design.

Start Your 14 Day Free Trial

New users get instant access to the 14 Day Free Trial with all features enabled, and Free Online Training. We guarantee your first conversion will 100% work - we work with you to ensure this, contact us or check our FAQs for assistance.

Connect With Us

Top