MPOS/php-mpos — pull request #1926 by TheSerapher (2014-03-11 09:56:58+00:00)
Title: [ADDED] Settings Runtime Cache

Added a class-local cache to reduce the amount of SQL queries to fetch our websites settings:

* Create a local class cache with all settings available
* Try to fetch from cache if available
* Fallback to SQL if no cache is available

Caches are created during class creation in `setting.class.php`. Should reduce the SQL overhead a fair bit.