App doesn't automatically update with new data read from a pickle file when the file changes

I have an app that renders some data read from a pickle file (with pandas: pd.read_pickle()) both in table form and graph.
When the data in the file gets modified, the updates donโ€™t show on the front-end immediately, even after i refresh the page, but rather some hours later, or even the next day. The data gets updated when i restart the streamlit project though.
Any help/idea is welcome :pray:

Have a look on a guide that might help your issue.