-
-
Notifications
You must be signed in to change notification settings - Fork 357
Open
Description
Bug description
There seems to be a cache issue between this project and nginx, causing freeze and high CPU usage.
How to Reproduce
Method 1
- Go to any image
- Click the 'History' button of any tag
- Click the back/left arrow of the UI to go back
- Repeat this a few times, usually once is enough
Method 2
- Go to any image
- Delete any tag
- Refresh the page
In both cases, the tag that was operated on will show '?' on each column, the UI will become completely unresponsive (freeze), and the browser will clog one CPU core to 100%. I discovered that if I clear the cache, the problem always goes away until it is reproduced again via one of the methods above. In my nginx reverse proxy, I added the following as a workaround:
add_header Cache-Control 'no-store, no-cache, must-revalidate, proxy-revalidate, max-age=0';System information
- OS: Ubuntu 20.04
- Browser:
- Name: Brave
- Version: 1.23.75, Chromium 90.0.4430.93
- Docker registry UI:
- Version: 2.0.0
- Server: Docker
- Docker:
- Docker version: 19.03.8
- Docker registry ui tag: 2.0
- OS/Arch: linux/arm64
- Tools: docker-compose
Metadata
Metadata
Assignees
Labels
No labels