Skip to content

Browser Cache Causes Broken UI on Page Reload #1553

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
1 task done
mohamedachrefhacheni opened this issue Apr 17, 2025 · 1 comment
Open
1 task done

Browser Cache Causes Broken UI on Page Reload #1553

mohamedachrefhacheni opened this issue Apr 17, 2025 · 1 comment

Comments

@mohamedachrefhacheni
Copy link

Privileged issue

  • I'm @tiangolo or he asked me directly to create an issue here.

Issue Content

When reopening the FastAPI dashboard, some users see outdated or broken UI components.This occurs due to the browser serving cached assets instead of fetching fresh ones from the server. Hard-refreshing (Ctrl+F5) temporarily fixes the issue, but a permanent solution is needed.

@stevleibelt
Copy link

Just some wild guesses here, this sounds more like a caching issue in swagger-ui or possible a configuration think in traefik?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants