OpenHands icon indicating copy to clipboard operation
OpenHands copied to clipboard

[Bug]: Disable cache on web application's index.html

Open rbren opened this issue 1 year ago • 5 comments

Is there an existing issue for the same bug?

  • [X] I have checked the troubleshooting document at https://docs.all-hands.dev/modules/usage/troubleshooting
  • [X] I have checked the existing issues.

Describe the bug

For the root path / and /index.html, we need to make sure that there is no caching set up. Otherwise the frontend breaks on update.

This will involve editing openhands/server/listen.py, specifically the part that serves the web app at the bottom of the file

Current OpenHands version

0.9.7

Installation and Configuration

N/A

Model and Agent

No response

Operating System

No response

Reproduction Steps

No response

Logs, Errors, Screenshots, and Additional Context

No response

rbren avatar Sep 30 '24 20:09 rbren

OpenHands started fixing the issue! You can monitor the progress here.

github-actions[bot] avatar Sep 30 '24 20:09 github-actions[bot]

The workflow to fix this issue encountered an error. Please check the workflow logs for more information.

github-actions[bot] avatar Sep 30 '24 21:09 github-actions[bot]

OpenHands started fixing the issue! You can monitor the progress here.

github-actions[bot] avatar Sep 30 '24 22:09 github-actions[bot]

OpenHands started fixing the issue! You can monitor the progress here.

github-actions[bot] avatar Sep 30 '24 22:09 github-actions[bot]

A potential fix has been generated and a draft PR #4129 has been created. Please review the changes.

github-actions[bot] avatar Sep 30 '24 22:09 github-actions[bot]

Does this issue still persist? Cache shouldn't be enabled by default.

amanape avatar Oct 14 '24 07:10 amanape

I frequently have to cmd+shift+R when loading up a new version of OpenHands...

rbren avatar Oct 14 '24 18:10 rbren

This would make a big difference for usability. I've had to do this way too many times.

mamoodi avatar Oct 16 '24 18:10 mamoodi

@rbren was this fixed by any chance? I thought I saw a PR go by related to this.

mamoodi avatar Nov 11 '24 18:11 mamoodi

Hypothetically yes, but I think I saw an issue w/ it again recently. Let's close this one for now and I'll keep an eye out

rbren avatar Nov 11 '24 21:11 rbren