How to disable form definition caching in Service Catalog

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


How to disable form definition caching in Service Catalog? 


Following is the steps to disable 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
  3. <cache name="system.form.cache" maxBytesLocalHeap="100M" eternal="false" overflowToDisk="false" timeToIdleSeconds="86400" timeToLiveSeconds="120000"/>
  4. Change the following values
  5. timeToIdleSeconds =2
  6. timeToLiveSeconds =2
  7.  Save the file
  8. 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.