Anthony Amolochitis - 2015-09-08 14:47:33
Other things that should be mentioned is external processes. Scripts that execute may depend on another external API accessed via curl. Since curl waits until a result returns, you may wait a long time. By using the cache method, you may cache a data set for a RESTful API call which is executed by a background process that, when finished, will store the data properly for your application. This can produce serious gains in performance as well since you eliminate the wait for the current script to execute.