I’m developing a plugin where I make a simple get call to a server. Because of certain circumstances this call cannot happen client-side. That is why I have opted to go for a server side action using a certain node module for authentication ( TOTP token).
This simple get call can sometimes take up to 1.5 seconds. Which is alot when I might have to do several after eachother.
Now is my question if it is possible to speed this call up and why is it even this slow in the first place? Have I configured something wrong or is it the plan that I’m on?
Would love to hear you guys’s feedback!