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.
- 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.
{shinyStorePlus}
leverages indexedDB to also store input, output values on the client.