Faster Variables

Component ID

1172558

Component name

Faster Variables

Component type

module

Maintenance status

Development status

Component security advisory coverage

not-covered

Component created

Component changed

Component body

With a trick we are able to add a write-through cache to variable_get/variable_set by replacing $conf with an ArrayObject.

This means only necessary variables are prefetched from the variables table.

Please only use this module with memcache or APC as cache backend as everything else will severely degrade performance.

Currently the module utilizes the 'cache' cache_bin.

Have fun and enjoy less memory intensive and faster pages.

See also here for more information:

http://drupal.org/node/79008#comment-4527754

h3. Known incompatibilities

* Drush -- worked around in the module
* Strongarm -- will make this module useless