Clear Cache
OpenReplay needs access to resources, such as your stylesheets, icons and fonts, to make replays work. In fact, these files are copied then cached by our backend so you can see old recordings even if your web app has changed. Follow the below steps to clear your cache:
- Run
k9s -n db
- Use the keyboard arrows to navigate the list and get to the
minio-*
container - Press s to have shell access the Minio (object storage) container
- Run
export MINIO_ACCESS_KEY=<accessKey from vars.yaml>
- Run
export MINIO_SECRET_KEY=<secretKey from vars.yaml>
- Run
mc alias set minio http://localhost:9000 $MINIO_ACCESS_KEY $MINIO_SECRET_KEY
- Run
mc rm --recursive --dangerous --force minio/sessions-assets
to remove all cached files (CSS, fonts and icons) - Use
exit
to exit the Minio container - Run
:quit
to exit the Kubernetes CLI - Restart
assets
service by runningopenreplay -R
Have questions?
Section titled Have questions?If you have any questions about this process, feel free to reach out to us on our Slack or check out our Forum.