We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
When a Function stops running, the in-memory cache will also be cleared.
For us to have the least amount of hits to Cosmos DB, the cache can be stored & read from the local disk. As proofed in this repository: https://github.com/Jandev/poc-scale-infinite-shared-state the state should be stored in:
Sharing date has to be done in the D:\home\data\-folder.
D:\home\data\
The state can be stored as a human-readable JSON document, called cache.json. The contents will look like
cache.json
{ "entries": [ { "slug": "the-slug", "fullUrl": "https://the-full-url/" } ] }
Additional properties can be added when necessary, like an updatedOn.
updatedOn
The text was updated successfully, but these errors were encountered:
No branches or pull requests
When a Function stops running, the in-memory cache will also be cleared.
For us to have the least amount of hits to Cosmos DB, the cache can be stored & read from the local disk.
As proofed in this repository: https://github.com/Jandev/poc-scale-infinite-shared-state the state should be stored in:
The state can be stored as a human-readable JSON document, called
cache.json
.The contents will look like
Additional properties can be added when necessary, like an
updatedOn
.The text was updated successfully, but these errors were encountered: