Problem/Motivation

The site may still rely solely on the default database or file-based cache backends, instead of using a dedicated in-memory cache backend such as Redis or Memcached, which can limit performance and scalability under higher load.

Steps to reproduce

Proposed resolution

Add a new Performance FitCheck plugin CachedBackendCheck that:

  • Inspects the configured cache backends for key bins (for example, render, dynamic_page_cache, discovery) to determine whether an in-memory backend like Redis or Memcached is in use.
  • Fails with FitWeight::Medium when a production environment is not using a recommended cache backend, and passes with FitWeight::Ok when Redis/Memcached (or equivalent) is configured.
  • Provides a short help message suggesting configuring Redis or Memcached as the primary cache backend for improved performance and scalability.

Remaining tasks

User interface changes

API changes

Data model changes

Issue fork drupalfit-3558987

Command icon Show commands

Start within a Git clone of the project using the version control instructions.

Or, if you do not have SSH keys set up on git.drupalcode.org:

Comments

harivansh created an issue. See original summary.

harivansh’s picture

Issue summary: View changes
harivansh’s picture

shubham.prakash made their first commit to this issue’s fork.

shubham.prakash’s picture

Status: Active » Needs review

harivansh’s picture

Status: Needs review » Fixed

Now that this issue is closed, review the contribution record.

As a contributor, attribute any organization that helped you, or if you volunteered your own time.

Maintainers, credit people who helped resolve this issue.

harivansh’s picture

Status: Fixed » Closed (fixed)