mirror of
https://github.com/open-webui/open-webui.git
synced 2026-05-06 10:58:17 -05:00
[PR #20050] [CLOSED] feat: add cache busting to admin panel settings pages #48493
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/open-webui/open-webui/pull/20050
Author: @Classic298
Created: 12/19/2025
Status: ❌ Closed
Base:
dev← Head:cache-bust📝 Commits (1)
e1f923dClaude/plan cache busting admin u lqws (#121)📊 Changes
12 files changed (+76 additions, -36 deletions)
View changed files
📝
src/lib/apis/configs/index.ts(+14 -4)📝
src/lib/apis/functions/index.ts(+7 -2)📝
src/lib/apis/knowledge/index.ts(+7 -2)📝
src/lib/apis/models/index.ts(+7 -2)📝
src/lib/apis/ollama/index.ts(+7 -2)📝
src/lib/apis/openai/index.ts(+14 -4)📝
src/lib/apis/tools/index.ts(+7 -2)📝
src/lib/components/admin/Settings/Connections.svelte(+4 -4)📝
src/lib/components/admin/Settings/Models.svelte(+4 -10)📝
src/lib/components/admin/Settings/Models/ConfigureModelsModal.svelte(+1 -1)📝
src/lib/components/admin/Settings/Models/ManageModelsModal.svelte(+1 -1)📝
src/lib/components/workspace/Models/ModelEditor.svelte(+3 -2)📄 Description
devbranch. Not targeting thedevbranch will lead to immediate closure of the PR.Changelog Entry
Description
This PR adds cache busting functionality to admin panel settings pages to ensure fresh data is always fetched when accessing Connections and Models settings. Previously, cached data could lead to stale information being displayed in admin panels, causing confusion when configurations were updated but not reflected in the UI.
The implementation adds an optional refresh parameter to relevant API functions that, when set to true, appends ?refresh=true to the query string, bypassing server-side caching.
Cache busting support via refresh parameter to the following API functions:
Contributor License Agreement
By submitting this pull request, I confirm that I have read and fully agree to the Contributor License Agreement (CLA), and I am providing my contributions under its terms.
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.