Ticket #498 (closed defect: fixed)

Opened 5 weeks ago

Last modified 2 weeks ago

count_cache_items called twice

Reported by: dmorton Owned by: dmorton
Priority: normal Milestone: 1.0.3
Component: PHP scripts Version: 1.0.2
Severity: minor Keywords:
Cc:

Description

On the welcome page, count_cache_items() is called twice, once for the quicklinks (in desert sand theme), and once for the main content. We could cache that count in a static variable (in the count_cache_items() function) and return that if it exists, to save a database call.

Change History

Changed 2 weeks ago by mortonda@…

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

[1293] caching results

Note: See TracTickets for help on using tickets.