You can improve performance when using an external class by configuring the class to use a short term object cache. A short term cache allows duplicate queries to the external class, within the specified amount of time, to be returned by the cache instead of have to query the external data source each time.
To configure a short term object cache: