Ticket #4138 (closed defect: fixed)

Opened 2 years ago

Last modified 2 years ago

Add to cache rather than set cache when data not changed

Reported by: ryan Assigned to: ryan
Priority: low Milestone:
Component: Administration Version: 2.2
Severity: normal Keywords: cache
Cc:

Description

There are several places where we should be using wp_cache_add instead of wp_cache_set to save unnecessary cache writes.

Attachments

cache_add.diff (3.6 kB) - added by ryan on 04/11/07 22:44:17.
wp_cache_add

Change History

04/11/07 22:44:17 changed by ryan

  • attachment cache_add.diff added.

wp_cache_add

04/12/07 02:27:16 changed by ryan

  • status changed from new to closed.
  • resolution set to fixed.

(In [5248]) Actually make use of wp_cache_add to avoid unnecessary cache writes. Props skeltoac. fixes #4138

05/19/07 20:32:00 changed by

  • milestone deleted.

Milestone 2.1.4 deleted