Skip to content

Runaway cache folder size on Forge #283

Description

@bakerkretzmar

Wayfinder Version

dev-next 312a15e

Laravel Version

13.15.0

PHP Version

8.5.5

Description

Using zero-downtime deployments on Forge the wayfinder-cache folder quickly grows to >20GB in size, it's killed one of my servers like this already because the whole disk ran out of space. It seems like it isn't using the cache from one deploy to the next even though the storage directory is shared between all deployments.

Steps To Reproduce

  • Forge site with basic default settings and npm run build in the deploy script.
  • Include wayfinder({ patterns: ['routes/**/*.php', 'app/**/*.php'] }) (the Laravel+Vite+Wayfinder plugin) in the Vite config.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions