[GH-ISSUE #10672] Separate cache from user data #15985

Closed
opened 2026-04-19 22:02:40 -05:00 by GiteaMirror · 2 comments
Owner

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

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
Author
Owner

@rgaricano commented on GitHub (Feb 24, 2025):

are you tried to setup env var CACHE_DIR ?

<!-- gh-comment-id:2679193446 --> @rgaricano commented on GitHub (Feb 24, 2025): are you tried to setup env var CACHE_DIR ?
Author
Owner

@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:

are you tried to setup env var CACHE_DIR ?


Reply to this email directly, view it on GitHub
https://github.com/open-webui/open-webui/issues/10672#issuecomment-2679193446,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AADADCWRZ7KFZRY67N6JDJ32RNKE7AVCNFSM6AAAAABXXR4ZE2VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDMNZZGE4TGNBUGY
.
You are receiving this because you authored the thread.Message ID:
@.***>
[image: rgaricano]rgaricano left a comment (open-webui/open-webui#10672)
https://github.com/open-webui/open-webui/issues/10672#issuecomment-2679193446

are you tried to setup env var CACHE_DIR ?


Reply to this email directly, view it on GitHub
https://github.com/open-webui/open-webui/issues/10672#issuecomment-2679193446,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AADADCWRZ7KFZRY67N6JDJ32RNKE7AVCNFSM6AAAAABXXR4ZE2VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDMNZZGE4TGNBUGY
.
You are receiving this because you authored the thread.Message ID:
@.***>

<!-- gh-comment-id:2679219182 --> @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: > are you tried to setup env var CACHE_DIR ? > > — > Reply to this email directly, view it on GitHub > <https://github.com/open-webui/open-webui/issues/10672#issuecomment-2679193446>, > or unsubscribe > <https://github.com/notifications/unsubscribe-auth/AADADCWRZ7KFZRY67N6JDJ32RNKE7AVCNFSM6AAAAABXXR4ZE2VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDMNZZGE4TGNBUGY> > . > You are receiving this because you authored the thread.Message ID: > ***@***.***> > [image: rgaricano]*rgaricano* left a comment (open-webui/open-webui#10672) > <https://github.com/open-webui/open-webui/issues/10672#issuecomment-2679193446> > > are you tried to setup env var CACHE_DIR ? > > — > Reply to this email directly, view it on GitHub > <https://github.com/open-webui/open-webui/issues/10672#issuecomment-2679193446>, > or unsubscribe > <https://github.com/notifications/unsubscribe-auth/AADADCWRZ7KFZRY67N6JDJ32RNKE7AVCNFSM6AAAAABXXR4ZE2VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDMNZZGE4TGNBUGY> > . > You are receiving this because you authored the thread.Message ID: > ***@***.***> >
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/open-webui#15985