benjamin-allion / json-node-normalizer

'json-node-normalizer' - NodeJS module that normalize json data types from json schema specifications.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

feat(cache): add schema cache to increase performance.

benjamin-allion opened this issue · comments

"normalize" method execute "deReferenceSchema" method for each call.
That method could be expensive,
To increase performance, it should be good to add cache option to avoid multiple calls especially if schema doesn't change.