Pretty much the headline. Is there a limit to how much cache can be stored? I’m deploying on AWS btw, so technically I can cache however much I want, right?
Thanks for sharing this question.
If you’re deploying on your own infrastructure, your cache will be limited by the amount of resources you have allocated to the app. You can use the
max_entries parameters to control how long something is cached for or the max number of entries stored in the cache.
Apps deployed on Streamlit Community Cloud are typically limited to 1 GB of resources, so the cache would have to consume less than that if your app is deployed there.
Hope this helps!