superfaceai / one-sdk-js

1️⃣ One Node.js SDK for all the APIs you want to integrate with
https://superface.ai
MIT License
47 stars 3 forks source link

feat: cache property #259

Closed Jakub-Vacek closed 2 years ago

Jakub-Vacek commented 2 years ago

Description

This PR adds cache property to SuperfaceClient constructor. This property can be used to disable caching (mam and profile AST and provider.json) to filesystem.

Motivation and Context

Types of changes

Checklist:

Jakub-Vacek commented 2 years ago

As far as I know map ast is not cached (on filesystem level).

freaz commented 2 years ago

Right, it is only in memory. Thank you.