Skip to content

feat(install): cache composer downloads across disposable runs#92

Merged
phlisg merged 1 commit into
developfrom
feature/composer-cache-volumes
Jun 25, 2026
Merged

feat(install): cache composer downloads across disposable runs#92
phlisg merged 1 commit into
developfrom
feature/composer-cache-volumes

Conversation

@phlisg

@phlisg phlisg commented Jun 25, 2026

Copy link
Copy Markdown
Owner

frank new/install spun up composer:latest containers with no persistent
cache, refetching the full skeleton + deps from the network every run.

Bind a host cache dir (COMPOSER_CACHE_DIR -> XDG_CACHE_HOME/frank/composer
-> ~/.cache/frank/composer) into all 3 disposable runs (create-project,
require-dev, sail:install) so a 2nd run reuses dist downloads. Best-effort:
resolution failure warns and skips. Host-owned via existing -u uid:gid.

Refs td-a134c9.

frank new/install spun up composer:latest containers with no persistent
cache, refetching the full skeleton + deps from the network every run.

Bind a host cache dir (COMPOSER_CACHE_DIR -> XDG_CACHE_HOME/frank/composer
-> ~/.cache/frank/composer) into all 3 disposable runs (create-project,
require-dev, sail:install) so a 2nd run reuses dist downloads. Best-effort:
resolution failure warns and skips. Host-owned via existing -u uid:gid.

Refs td-a134c9.
@phlisg phlisg merged commit eec9335 into develop Jun 25, 2026
1 check passed
@phlisg phlisg deleted the feature/composer-cache-volumes branch June 25, 2026 14:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant