Make WordPress Core

Opened 18 years ago

Closed 18 years ago

Last modified 18 years ago

#4138 closed defect (bug) (fixed)

Add to cache rather than set cache when data not changed

Reported by: ryan's profile ryan Owned by: ryan's profile ryan
Milestone: Priority: low
Severity: normal Version: 2.2
Component: Administration Keywords: cache
Focuses: 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 (1)

cache_add.diff (3.6 KB) - added by ryan 18 years ago.
wp_cache_add

Download all attachments as: .zip

Change History (3)

@ryan
18 years ago

wp_cache_add

#1 @ryan
18 years ago

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

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

#2 @(none)
18 years ago

  • Milestone 2.1.4 deleted

Milestone 2.1.4 deleted

Note: See TracTickets for help on using tickets.