Caching display methods
In order to speed up the performance of display methods, we can add it to the cache.
Data retrieved by the display method is then put into the cache and fetched from the
cache in consequent requests until the reread method on the data source is called.
Follow these steps to add the display method brand to the cache in the
RentalTable form:
1. Find the RentalTable form in the AOT.
2. Right–click on the RentalTable Data Source and select
Override method | init.
3. Add the following code after super() in the init method:
RentalTable_ds.cacheAddMethod("brand");