Ticket #4138 (closed Feature Requests: fixed)

Opened 2 years ago

Last modified 2 years ago

change drawselects() to cache destination data

Reported by: p_lindheimer Assigned to:
Priority: minor Milestone: 2.8
Component: FreePBX Framework Version: 2.6-branch
Keywords: Cc:
Confirmation: Confirmed SVN Revision (if applicable):
Backend Engine: All Backend Engine Version:

Description

drawselect() is used to generate the destination choices and radio buttons today. It makes a callback to each module who provides destinations to get a list of possible choices which ultimately results in database calls by each destination.

Some screens call this function multiple times, such as IVR, Time Conditions and Day Night modules. By caching the data, subsequent calls will result in no database hits since the data can not change between calls.

Testing has shown that this can substantially reduce the server side time to process complex IVR pages.

Change History

03/14/10 21:08:28 changed by p_lindheimer

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

(In [9214]) closes #4138 caches destination data to be used on subsequent calls, also some tweaks towards the DAHDI support