Ticket #5570 (closed defect (bug): fixed)

Opened 4 years ago

Last modified 4 years ago

Remove default persistent object cache

Reported by: ryan Owned by: anonymous
Priority: normal Milestone: 2.5
Component: General Version: 2.5
Severity: normal Keywords: cache
Cc:

Description

The persistent object cache is not enabled by default and is not actively maintained. Let's remove it. It can be resurrected as a third-party cache backend. The in-memory caching parts of cache.php should be retained.

Attachments

no_persistent_cache.diff Download (9.9 KB) - added by ryan 4 years ago.

Change History

ryan4 years ago

+1

I am quite happy to take this on as a plugin as well.

comment:2   ryan4 years ago

  • Status changed from new to closed
  • Resolution set to fixed

(In [6539]) Remove persistent object cache. fixes #5570

comment:3   ryan4 years ago

(In [6540]) Fix cache close. see #5570

  • Status changed from closed to reopened
  • Version changed from 2.5 to 2.3.2
  • Resolution fixed deleted

includes/function.php still makes serialization calls, throwing a PHP memory error when it runs out of space.

comment:5   DD324 years ago

includes/function.php still makes serialization calls, throwing a PHP memory error when it runs out of space.

That'd be due to options being set/updated, they *have* to be serialised if they're not a simple string. So by the sounds of it, Something is storing rather large options which overflows the memory limits?

comment:6   DD324 years ago

  • Status changed from reopened to closed
  • Version changed from 2.3.2 to 2.5
  • Resolution set to fixed

reseting to 2.5 version. Infact, It'd be better to seek help in the support forums, or open a ticket which refers to your problem specifically. This ticket was for the removal of the cache, which doesnt affect you. (Assuming you're running an uptodate version of WordPress)

Note: See TracTickets for help on using tickets.