This document was uploaded by user and they confirmed that they have the permission to share it. If you are author or own the copyright of this book, please.
Vizualizați conținut de ajutor pentru versiunea:
- 6.2
This article discusses strategies and best practices you can implement to reduce bottlenecks and optimize the performance of your AEM Forms deployment.
You can configure and control the caching strategy for AEM Forms using the Mobile Forms Configurations component in AEM Web Configuration Console at http://[server]:[port]/system/console/configMgr.
The available options for caching are as follows:
- None: Enforces not to cache any artifact. This will, in practice, slows the performance and requires high memory availability due to the absence of cache.
- Conservative: Dictates to cache only those intermediate artifacts that are generated before rendering the form, such as a template containing inline fragments and images.
- Aggressive: Enforces to cache almost everything that can be cached, including rendered HTML content besides all the artifacts from the Conservative caching level. It results in the best performance but also consumes more memory for storing cached artifacts. Aggressive caching strategy means you will get constant time performance in rendering a form as the rendered content is cached.
The default cache settings for AEM Forms may not be good enough to achieve optimal performance. Therefore, it is recommended to use the following settings:
- Cache Strategy: Aggressive
- Cache size (in terms of number of forms): As required
- Max Object Size: As required
Notă:
If you use AEM Dispatcher to cache adaptive forms, it also caches adaptive form which contains forms with pre-filled data. If such forms are served from AEM Dispatcher cache, it may lead to serving pre-filled or stale data to the users. So, use AEM Dispatcher to cache adaptive forms which do not use pre-filled data. Moreover, a dispatcher cache does not auto-invalidate cached fragments. So, do not use it to cache form fragments. For such forms and fragments, use Adaptive forms cache.
For optimal performance, it is recomended to use the following JVM init arguments to configure the Java heap and PermGen.
![Tarife rar 2019 Tarife rar 2019](http://www.foliiautoprofesionale.ro/images/temp/autorizatie-rar.jpg)
Note: The recommended settings are for Windows 2008 R2 8 Core and Oracle HotSpot 1.7 (64-bit) JDK and should be scaled up or down as per your system configuration.
Adaptive forms and HTML5 forms render in 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 server and client machines.
For example, perform the following steps to enable compression on Apache Web Server 2.0 32-bit with JBoss:
Note: The following instructions do not apply to any server other than the Apache Web Server 2.0 32-bit. For steps specific to any other server, see the corresponding product documentation.
Following steps demonstrates changes required to enable compression with Apache Web Server
Obtain the Apache web server software applicable to your operating system
- Windows: download the Apache web server from the Apache HTTP Server Project site.
- Solaris 64-bit: download the Apache web server from the Sunfreeware for Solaris Website.
- Linux: the Apache web server is preinstalled on a Linux system.
Apache can communicate to CRX using the HTTP protocol. The configurations are for optimization using HTTP.
- Uncomment the following module configurations in APACHE_HOME/conf/httpd.conf file.Notă:For Linux, the default APACHE_HOME is /etc/httpd/.
- Configure the proxy on port 4502 of crx.
Add following configuration in APACHE_HOME/conf/httpd.conf configuration file. - Enable Compression. Add following configuration in APACHE_HOME/conf/httpd.conf configuration file.For HTML5 formsTo access the crx server, use http://[server]:80, where server is the name of the server on which the Apache server is running.
Postările pe Twitter™ şi Facebook nu sunt acoperite de condiţiile de licenţiere Creative Commons.
Prevederi legale | Politică de confidențialitate online