Try placing the @st.cache decorator around a smaller section of code, preferably a small deterministic function, so that you can see it working somewhere.
Thanks for trying out Streamlit! If you can share your streamlit code, we should be able to give you better advice.