[GH-ISSUE #7367] Environmental variable for setting cache filesystem location #53386

Closed
opened 2026-05-05 14:40:55 -05:00 by GiteaMirror · 0 comments
Owner

Originally created by @rasmusson on GitHub (Nov 26, 2024).
Original GitHub issue: https://github.com/open-webui/open-webui/issues/7367

Feature Request

Is your feature request related to a problem? Please describe.
I use a persistent volume mounted as the data dir to make sure my chats are saved. Unfortunately this volume is becoming unnecessarily big as the cache folder is also in the data dir. I would like to be able to have this on a separate volume to avoid filling backups with cache data.

Describe the solution you'd like
I would like to move the cache dir out of the data dir. Im thinking that this could be done using a environmental variable to point to the location where the cache should be.

Originally created by @rasmusson on GitHub (Nov 26, 2024). Original GitHub issue: https://github.com/open-webui/open-webui/issues/7367 # Feature Request **Is your feature request related to a problem? Please describe.** I use a persistent volume mounted as the data dir to make sure my chats are saved. Unfortunately this volume is becoming unnecessarily big as the cache folder is also in the data dir. I would like to be able to have this on a separate volume to avoid filling backups with cache data. **Describe the solution you'd like** I would like to move the cache dir out of the data dir. Im thinking that this could be done using a environmental variable to point to the location where the cache should be.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/open-webui#53386