Deprecate CacheBackendInterface::invalidateAll/invalidate/invalidateMultiple()

Created on 7 April 2014, almost 11 years ago
Updated 15 March 2025, 19 days ago

There is an invalidate* functions on the cacheBackendInternface however I don't see a) it used, b) a usefulness to include this over their equivalent delete function. Is there ever a need to pull an expired cache?

May as well save the memory/database storage by deleting it over setting its expiration time and remove this api (or map it to delete*).

📌 Task
Status

Closed: duplicate

Version

11.0 🔥

Component

cache system

Created by

Live updates comments and jobs are added and updated live.
  • API clean-up

    Refactors an existing API or subsystem for consistency, performance, modularization, flexibility, third-party integration, etc. May imply an API change. Frequently used during the Code Slush phase of the release cycle.

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.

Production build 0.71.5 2024