Skip to content

Glossary: AI App Interfaces

@st.cache_data

Also written: st.cache_data, cache_data

A Streamlit decorator that remembers a function's returned data, such as the list of Kettle & Crane orders from `orders.csv`. Later calls with the same arguments return a copy instantly instead of redoing the work.

Where the book teaches it

Related terms

CacheDecorator@st.cache_resource