bindCache(): Extending cache scope

  • If sharing data between users its a concern, we can separate cache for each user sessions.
bindCache(…, cache = "session")
  • If we want to share the cache across multiple processes and lasts across app restarts.
shinyOptions(cache = cachem::cache_disk())
  • We can chain multiple caches together or write your own custom storage backend with cachem.