Skip to content

Latest commit

 

History

History
24 lines (15 loc) · 973 Bytes

README.md

File metadata and controls

24 lines (15 loc) · 973 Bytes

shinyLocalStorage

The goal of shinyLocalStorage is to demonstrate the use of the localStorage API to speed up app performances.

The demo app is simulating a dummy task for 10 seconds on the first run. Input and any reactives are stored in the browser localStorage, which will speed up any subsequent startup.

App data tab

Limitations

  • If the app code changes and affects input names, the local storage must be reset for the user.
  • This is different from the shiny cache API since combinations of input which gave a specific result are not stored. Any new input value, will erase the existing one.

Related work

{shinyStorePlus} leverages indexedDB to also store input, output values on the client.