GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — Custom cache dir handling · Issue #2298 · voidzero-dev/vite-plus

Custom cache dir handling #2298

New issue
Copy link
New issue
Copy link
Open
Feature
Open
Custom cache dir handling#2298
Feature
Copy link
Assignees
fengmk2wan9chi
Labels
pending triage

Description

@TheAlexLichter
TheAlexLichter
opened on Aug 2, 2026
Issue body actions

Description

Right now there is no documented way to set a custom cache dir for the Vite+ cache folder. The undocumented version is via an env variable.

At the same time, Vite itself has a cachedDir option that could be used (or mistaken by users as the desired option)

Suggested solution

  1. Add a dedicated run.cacheDir option
  2. If it is not set, use <top-level cacheDir>/task-cache (Vite's option)
  3. If that isn't set either, use the default node_modules/.vite/task-cache dir

To make it performant, this probably needs changes in Vite Task itself

Alternative

No response

Additional context

No response

Validations

  • Read the Contributing Guidelines.
  • Confirm this request is for Vite+ itself and not for Vite, Vitest, tsdown, Rolldown, or Oxc.
  • Check that there isn't already an issue requesting the same feature.
Reacted by JongKyung Lee , Charles Wang and Kai Kimberg

Activity

  1. TheAlexLichter
    assigned
    fengmk2
    and
    wan9chi
    on Aug 2, 2026
  2. TheAlexLichter
    added
    pending triage
    on Aug 2, 2026
  3. TheAlexLichter
    added the
    Feature
    issue type on Aug 2, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

  • @fengmk2
    fengmk2
  • @wan9chi
    wan9chi

Labels

pending triage

Type

Feature

Fields

Priority

None yet

Start date

None yet

Target date

None yet

Effort

None yet

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

    You are visitor 01402775 — GeezerVison does not store the pages you look up.
    Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.