Skip to content

Ability to disable tmp caching of phar contents #13055

Open
@dktapps

Description

@dktapps

Description

It's not clear to me what the point of caching phar contents is. In a world where opcache is used, it shouldn't be necessary to cache the phar contents anyway, except perhaps the occasional data file.

In addition, since different threads / processes don't share phar caches, /tmp can get very crowded with lots of files caching near-identical data.

I maintain a long-running application in which autoload time is not a concern, but the hogging of tmp space is a problem for my users. There doesn't seem to be a way to stop ext-phar from caching things read from phars.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions