how to cache a nodejs method in nodeservices #1234

Closed
opened 2025-08-09 17:19:22 +00:00 by fergalmoran · 0 comments
Owner

Originally created by @AnyListen on 11/25/2016

consider this : i have a jsvascript file (cmd5.js), it is a little bigger
when i call the method in this file using below code;
I am doubtful about that the mothod will reload cmd5.js everytime, so this is less efficient;
how to be more efficient

_nodeServices.InvokeExportAsync<string>("./Node/cmd5", "qymd5", input).Result;
*Originally created by @AnyListen on 11/25/2016* consider this : i have a jsvascript file (cmd5.js), it is a little bigger when i call the method in this file using below code; I am doubtful about that the mothod will reload cmd5.js everytime, so this is less efficient; how to be more efficient ``` _nodeServices.InvokeExportAsync<string>("./Node/cmd5", "qymd5", input).Result; ```
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github/JavaScriptServices#1234
No description provided.