Enable JS and CSS minification

Mobile Form runtime includes couple of js and a CSS file. These files, by default, are not minified. But there is no need to worry as there is a configuration to use the minified versions of these. This blog post will take you through the steps on how to enable minification.
You need to go to http://:/lc/system/console/configMgr page. This is a configuration page listing all the services that has configurations. Just look for ‘HTML Library Manager’ and click it. You will see the configurations like following:



Now check the ‘Minify’ checkbox. That’s it. Now you would get all the js and css in minified form.

This is very important from performance perspective. Less size will take less time over the network resulting in better load time when you render the form.

Leave a Reply

Your email address will not be published. Required fields are marked *