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:

  1. Run k9s -n db
  2. Use the keyboard arrows to navigate the list and get to the minio-* container
  3. Press s to have shell access the Minio (object storage) container
  4. Run export MINIO_ACCESS_KEY=<accessKey from vars.yaml>
  5. Run export MINIO_SECRET_KEY=<secretKey from vars.yaml>
  6. Run mc alias set minio http://localhost:9000 $MINIO_ACCESS_KEY $MINIO_SECRET_KEY
  7. Run mc rm --recursive --dangerous --force minio/sessions-assets to remove all cached files (CSS, fonts and icons)
  8. Use exit to exit the Minio container
  9. Run :quit to exit the Kubernetes CLI
  10. Restart assets service by running openreplay -R

If you have any questions about this process, feel free to reach out to us on our Slack or check out our Forum.