Our custom print services are taking around 20-45 seconds to load in the various print widgets when opening the print dialog depending on how many layout files are in the template folder. Checking the web traffic it is the "Get Layout Templates Info" task being called that is causing the delay.
The default print service also calls that task but it only takes 2 seconds to run. The custom print service that takes 20 seconds to load only has 5 layouts and the default print service has 8 layouts. It does not make sense to me why the default is faster.
Are there any best practices to speed up the Get Layout Templates Info task?
I am currently running ArcGIS Enterprise 11.1, but this has been a problem for us for several versions.