Perform caching of query results in _vcard_get_map function

geodaniel - October 4, 2007 - 12:37
Project:vCard
Version:6.x-1.x-dev
Component:Code
Category:task
Priority:normal
Assigned:sanduhrs
Status:closed
Description

If you're displaying more than one user's vcard on a page then the _vcard_get_map function gets called frequently (I'm displaying 15 users on a page and the _vcard_get_map function is being called 135 times, each time doing a 'SELECT fid, name FROM profile_fields'.

#1

sanduhrs - July 17, 2008 - 20:12
Version:4.7.x-1.x-dev» 6.x-1.x-dev
Assigned to:Anonymous» sanduhrs
Status:active» fixed

Fixed in HEAD and 6-dev.
Thanks.

#2

sanduhrs - July 17, 2008 - 22:03

Backported to 5.x

#3

Anonymous (not verified) - July 31, 2008 - 22:14
Status:fixed» closed

Automatically closed -- issue fixed for two weeks with no activity.

 
 

Drupal is a registered trademark of Dries Buytaert.