I am trying to move a small Excel macro app to a new app using streamlit, here is what I have done so far https://xerviewer.herokuapp.com/ , First I have to say what you guys have build is amazing, I am not a dev and managed to make a web app
the app just read an xer file (it is just a csv file with a lot of tables) and parse it and loaded it to an in memory sqlite DB, I am using st.cache too, the app is hosted in heroku.
my question is : is the data deleted or save it in the server, ideally I want people to use it and feel confident that I can’t read there data ?
By default the cache is stored in memory until the server process is killed. There are some flags you can use to alter this behavior.
persist : boolean
Whether to persist the cache on disk.
max_entries : int or None
The maximum number of entries to keep in the cache, or None
for an unbounded cache. (When a new entry is added to a full cache,
the oldest cached entry will be removed.) The default is None.
ttl : float or None
The maximum number of seconds to keep an entry in the cache, or
None if cache entries should not expire. The default is None.
I’m developping a Streamlit app in a JupyterLab environment. Only my HOME is mounted into an on-demand pod/container. If I set persist=True, what is the specific path where the cache will be stored?
I’d like to better understand how caching and cached values release works. I’m hosting my app on AWS ECS. Can you explain when the memory is released? Is it only after I finish my app session?