Topic: PHP Performance Problem
I found that having include configuration files in the php files is very inefficient.
I found the solution here using PHP Cache and want to share it with everyone, I hope that you can find it useful.
Cache a variable in the data store .
<?php
$bar = 'BAR';
apc_store('foo', $bar);
var_dump(apc_fetch('foo'));
?>
You can store any data type, object, etc.
Read more: