Problem/Motivation

Ctools provides an integrated caching mechanism for plugin types.
The documentation says

cache
Defaults to: FALSE
If set to TRUE, the results of ctools_get_plugins will be cached in the 'cache' table (by default), thus preventing .inc files from being loaded. ctools_get_plugins looking for a specific plugin will always load the appropriate .inc file.

This could save us some milliseconds :)

Proposed resolution

Enable the cache. This should work with the class detection as well since the validation code uses ctools_get_plugins() to load the plugin files which contain the classes.

Remaining tasks

Reviews needed.

User interface changes

None

API changes

None.

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

g089h515r806’s picture

Status: Active » Needs review

it looks nice.

g089h515r806’s picture

Status: Needs review » Fixed

committed

Status: Fixed » Closed (fixed)

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