API Reference > imodeljs-common > RpcInterface > RpcOperation > RpcOperation.allowResponseCaching RpcOperation.allowResponseCaching Function Convenience decorator for setting an RPC operation policy that allows response caching. allowResponseCaching(control: RpcResponseCacheControl = RpcResponseCacheControl.Immutable): (target: T, propertyKey: string, descriptor: PropertyDescriptor) => void Parameter Type Description control RpcResponseCacheControl Returns - (target: T, propertyKey: string, descriptor: PropertyDescriptor) => void Defined in core/common/src/rpc/core/RpcOperation.ts Line 134 Last Updated: 12 June, 2024