A cache is a mechanism to shorten data access times, reduce latency, and improve input/output (I/O) speeds. Adaptive forms cache stores only HTML content and JSON structure of an adaptive form without saving any pre-filled data. It helps in reducing the time required to render an adaptive form or document on the client. It is designed specifically for adaptive forms and also supports adaptive documents.


When using the adaptive forms cache, use the AEM Dispatcher to cache client libraries (CSS and JavaScript) of an adaptive form or document.


While developing the overlaid components, on the server used for development, keep the adaptive forms cache disabled.

Configure the cache

Perform the following steps to configure the adaptive forms cache:  

  1. In the browser window, open URL http://[server]:[port]/system/console/bundles.

  2. Open the Adaptive Form HTML cache bundle for editing and specify value for the following fields: 

    • Caching: Use the Caching field to enable or disable the adaptive forms cache. The default value is Enabled.
    • Number of Adaptive Forms: Specify the maximum number of forms or documents an instance of the AEM forms server can cache. The default value is 100.

    Click Save.


    On disabling the cache, all the cached forms and documents are deleted.  

    Configuration dialog for adaptive forms HTML cache
  3. Open the Adaptive Forms JSON Cache bundle for editing, specify value for the Maximum Adaptive Forms field, and click Save.

    The Maximum Adaptive Forms field specifies the maximum number of forms or documents a JSON cache is allowed to save the data. The default value is 100.

    Configuration dialog for adaptive forms JSON cache


    To ensure that pre-filled data for all applicable forms and documents is cached, keep the value of Maximum Aaptive Forms filed specified in the JSON cache configuration equal to the Number of Adaptive Forms field specified in the Adaptive Forms HTML cache configuration.

This work is licensed under a Creative Commons Attribution-Noncommercial-Share Alike 3.0 Unported License  Twitter™ and Facebook posts are not covered under the terms of Creative Commons.

Legal Notices   |   Online Privacy Policy