Optimizing Mobile Forms Performance

Optimizing Mobile Forms Performance

Livecycle ES4 Mobile Forms renders forms in the HTML5 format. The resultant output could be large depending on factors like the form size and images in the form. To optimize the data transfer, the recommended approach is to compress the HTML response using the Web Server from which the request is being served. This approach reduces the response size, network traffic, and the time required to stream data between the server and client machines.

This article describes the steps required to enable compression for the Apache Web Server 2.0 32 bit, with JBoss.

Note: The following instructions do not apply to servers other than the Apache Web Server, or to another version of the Apache Web Server. See documentation for that server.

Following steps demonstrates changes required to enable compression with Apache Web Server

Obtain the Apache web server software that is applicable to your operating system:

1)For Windows, download the Apache web server from the Apache HTTP Server Project site.

2)For Solaris 64 bit, download the Apache web server from the Sunfreeware for Solaris Website.

3)For Linux, the Apache web server is preinstalled on a Linux system.

Apache can communicate to JBoss using HTTP or AJP protocol. The following are configurations for optimization using HTTP.

1)Uncomment the following module configurations in APACHE_HOME/conf/httpd.conf  file

   LoadModule proxy_balancer_module modules/mod_proxy.so
   LoadModule proxy_balancer_module modules/mod_proxy_http.so
   LoadModule deflate_module modules/mod_deflate.so

 Note: For Linux, the default APACHE_HOME is /etc/httpd/

2)Configure the proxy on port 8080 of Jboss
Add following configuration in APACHE_HOME/conf/httpd.conf configuration file.

ProxyPass / http://<server_Name>:8080/
ProxyPassReverse / http://<server_Name>:8080/ 

3) Enable Compression

Add following configuration in APACHE_HOME/conf/httpd.conf configuration file.

 
<Location /lc/content/xfaforms>
  <IfModule mod_deflate.c>
     SetOutputFilter DEFLATE
     # Don’t compress
     SetEnvIfNoCase Request_URI \.(?:gif|jpe?g|png)$ no-gzip dont-vary
     SetEnvIfNoCase Request_URI \.(?:exe|t?gz|zip|bz2|sit|rar)$ no-gzip dont-vary
    #Dealing with proxy servers
   
     <IfModule mod_headers.c>
        Header append Vary User-Agent
     </IfModule>
  </IfModule>
</Location>

4) To access the Livecycle server, use http://<machine_name>:80

Note: machine_name is the name of the server on which the Apache server is running.

Also see  What’s new in Adobe LiveCycle ES4 and Introduction to Mobile Forms.

VN:F [1.9.22_1171]
Was this helpful? Please rate the content.
Rating: 6.8/10 (4 votes cast)
Optimizing Mobile Forms Performance, 6.8 out of 10 based on 4 ratings
This entry was posted in Adobe LiveCycle ES3, Adobe LiveCycle ES4 and tagged , , , , , , , , , , , , , , , , , . Bookmark the permalink.

Comments are closed.