foal icon indicating copy to clipboard operation
foal copied to clipboard

[Performance] Process.env is slow

Open lcnvdl opened this issue 9 months ago • 0 comments

The access to process.env is slow.

https://github.com/motdotla/dotenv/issues/562

In order to improve this, other frameworks have an enable cache option to the Env wrapper.

Something like:

Env.useCache = true;

As I've seen, FoalTS doesn't have this feature. Is there any possibility to add it?

Thanks in advance

lcnvdl avatar May 04 '24 16:05 lcnvdl