-
Notifications
You must be signed in to change notification settings - Fork 3
Open
Description
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.
The state can be stored as a human-readable JSON document, called cache.json.
The contents will look like
{
"entries": [
{
"slug": "the-slug",
"fullUrl": "https://the-full-url/"
}
]
}Additional properties can be added when necessary, like an updatedOn.
Metadata
Metadata
Assignees
Labels
No labels