Optimization in the cache + added mechanism to cache ofx actions calls