mirror of
https://github.com/open-webui/open-webui.git
synced 2026-05-06 19:08:59 -05:00
[GH-ISSUE #10672] Separate cache from user data #15985
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?
Originally created by @rasmusson on GitHub (Feb 24, 2025).
Original GitHub issue: https://github.com/open-webui/open-webui/issues/10672
Is your feature request related to a problem? Please describe.
Inside the /app/backend/data folder the user data resides together with a cache folder, containing embedding and audio models. This makes the size of backups of user data become unnecessarily large.
Describe the solution you'd like
The cache could instead be placed in /app/backend/cache allowing backup of only user data.
Describe alternatives you've considered
I have found no other way on not including cache in backups as I do full volume backup and the /app/backend/data/cache folder can not be separated in its own folder when it is a subfolder of /app/backend/data
@rgaricano commented on GitHub (Feb 24, 2025):
are you tried to setup env var CACHE_DIR ?
@rasmusson commented on GitHub (Feb 24, 2025):
I have not. I couldn't find it in the documentation. Do you know it exists?
Is it absolute path?
On Mon, Feb 24, 2025, 18:37 00 @.***> wrote: