How to enable form caching in the form designer

Document ID : KB000039319
Last Modified Date : 14/02/2018
Show Technical Document Details

Question:

How to enable form definition caching in Service Catalog?

Answer:

 Following is the steps to enable the form definition caching :

1. Open the file ehcache.xml located in the following folder USM_HOME/view/conf in a text editor

2. Locate the following line

<cache name="system.form.cache" maxBytesLocalHeap="100M" eternal="false" overflowToDisk="false" timeToIdleSeconds="2" timeToLiveSeconds="2"/>

3. Change the following values

4. timeToIdleSeconds =86400

5. timeToLiveSeconds =120000

6. Save the file

7. Restart catalog windows service for the change to effect *

* Please note that it is mandatory to recycle the Service Catalog service after the above changes 

 

Additional Information:

Form caching is recommended for faster performance of Service Catalog when rendering catalog requests with multiple forms or big forms but needed to disabled in the development environments where the developers can test the changes made to the forms on the fly.