*ensure we only cache if the method has it enabled
This commit is contained in:
parent
e1e90957cf
commit
bd6c791675
|
@ -132,7 +132,7 @@ export class RPCServer {
|
||||||
|
|
||||||
cachedRequest = this.getCachedRequest(request);
|
cachedRequest = this.getCachedRequest(request);
|
||||||
|
|
||||||
if (!cachedRequest && !isStream) {
|
if (!cachedRequest && !isStream && method.cacheable) {
|
||||||
this.cacheRequest(request, result);
|
this.cacheRequest(request, result);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue