[eluser]dblackherod[/eluser]
CI is quite amazing during application developments using PHP. However one thing I have noticed over the years using this framework is its resource loading concept. A quick illustration would suffice;
1. increase the log threshold in APPPATH . config/config.php to 4.
2. refresh a page in your app.
3. observe the contents in APPPATH . logs/<System-Date>.php
What you will find my friend is a repetition of controllers, models, libraries and helpers loaded by CI; infact, the more a page is requested in CI, the more the same resources are loaded repeatedly. The CI guide also mentions that when the database library is autoloaded, same library will be called with every page load.
I am thinking there's got to be a way to cache resources loaded and simply reuse them on subsequent requests.
Any thoughts on this proposition and how to begin?.