Add FileBackend Cache

Created on 5 April 2017, over 8 years ago
Updated 23 January 2023, over 2 years ago

Problem/Motivation

The Cache PhpBackend uses the OPCache to get performance improvements.
There are situations where this is bad, e.g. when often changing cache items crowd out real source files.
This is mitigated by php 7.1's second level file-based OPCache, but hardened by the fact that the OPCache must be completely rebuilt every time it is full.

Long story short: There are situations when we want a file based cache not using OPCache.

Proposed resolution

Add a FileBackend.

Remaining tasks

Code, review, commit.

User interface changes

None.

API changes

Pure API addition.

Data model changes

None.

Feature request
Status

Needs work

Version

10.1

Component
Cache 

Last updated 12 days ago

Created by

🇩🇪Germany geek-merlin Freiburg, Germany

Live updates comments and jobs are added and updated live.
  • Needs subsystem maintainer review

    It is used to alert the maintainer(s) of a particular core subsystem that an issue significantly impacts their subsystem, and their signoff is needed (see the governance policy draft for more information). Also, if you use this tag, make sure the issue component is set to the correct subsystem. If an issue significantly impacts more than one subsystem, use needs framework manager review instead.

Sign in to follow issues

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

  • 🇺🇸United States smustgrave

    This issue is being reviewed by the kind folks in Slack, #needs-review-queue-initiative. We are working to keep the size of Needs Review queue [2700+ issues] to around 400 (1 month or less), following Review a patch or merge request as a guide.

    At this time we will need a 10.1x version of the patch
    Also tagging for subsystem review for their thoughts on this.

    Thanks!

Production build 0.71.5 2024