FAQ - When should I use udf-clear-cache?
UDF files are cached on the server to improve performance. This prevents the server from reopening and recompiling the UDF unnecessarily. There may be a need to manually clear this cache with the udf-clear-cache command. This article will dive further into the use cases.
The following command can be used to manually clear UDF cache:
asinfo -v udf-clear-cache:
Conditions for manually Clearing the cache.
The UDF cache will automatically be cleared when a UDF file is updated. That said, there are conditions that requires manual clearing of the cache:
If there exist interdependencies among the updated UDF. This could lead to an invalid cache and requires a clearing of the cache.
If the UDF is in use while being updated. This could also lead to an invalid cache and requires a clearing of the cache.