WordPress.org

Make WordPress Core

Opened 13 years ago

Closed 13 years ago

Last modified 12 years ago

#9762 closed defect (bug) (invalid)

Won't 11241 interfere with memcached?

Reported by: Denis-de-Bernardy Owned by:
Milestone: Priority: normal
Severity: major Version: 2.8
Component: Optimization Keywords:
Focuses: Cc:

Description

r11241 seems like an over-optimization.

specifically, won't the result get cached for excessively long amounts of time?

since the purpose of this is to avoid extra queries, shouldn't we be using a static variable instead, and returning the latter if it's set?

Change History (2)

#1 @ryan
13 years ago

The 'counts' group is a non-persistent group that is not cached beyond the life of the page load.

#2 @Denis-de-Bernardy
13 years ago

  • Milestone 2.8 deleted
  • Resolution set to invalid
  • Status changed from new to closed

Ok! :-)

Note: See TracTickets for help on using tickets.