Skip to content

Conversation

@alexander-schranz
Copy link
Contributor

@alexander-schranz alexander-schranz commented Oct 28, 2025

Q A
Branch? 8.0
Bug fix? no
New feature? yes
Deprecations? no
Issues Fix #...
License MIT

Related to: #62170 @nicolas-grekas changes.

I think var/share/pools is not very transparent, and would say that var/share/cache/pools would make it more transparent for what the directory is used. That var/share/cache can then be used to store also other shared caches.

I think it will be kind of common to have maybe a shared directory like:

  • var/share
    • cache
      • pools
      • http_cache
      • ...
    • storage (flysystem)
    • db (sqlite)

I'm aware we can not do this change for 7.4 so I would do this in 8.0 and do it as recipe change in 7.4 already, what do you think? This make cache clearings easier as it can be done on var/share/cache and var/cache dirs.

@carsonbot
Copy link

Hey!

To help keep things organized, we don't allow "Draft" pull requests. Could you please click the "ready for review" button or close this PR and open a new one when you are done?

Note that a pull request does not have to be "perfect" or "ready for merge" when you first open it. We just want it to be ready for a first review.

Cheers!

Carsonbot

@alexander-schranz alexander-schranz marked this pull request as ready for review October 28, 2025 08:31
@carsonbot carsonbot added this to the 8.0 milestone Oct 28, 2025
@carsonbot carsonbot changed the title Make clearer where the cache is stored Make clearer where the cache is stored Oct 28, 2025
@nicolas-grekas
Copy link
Member

Well, this will break deployment scripts. This looks risky to me. It might be good enough to keep things as is...

@alexander-schranz
Copy link
Contributor Author

alexander-schranz commented Oct 28, 2025

Oh Sorry I thought you already change the directory from var/cache to var/share in 8.0 but seems like its not the case. You keep the default of var/cache on 8.0?

@nicolas-grekas
Copy link
Member

See #62190 for my plans ;)

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

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants