Hi,
If we take example of album-o-rama application, in index action of the controller https://github.com/phalcon/album-o-rama/blob/master/apps/frontend/controllers/IndexController.php, the following code is used to generate key for caching
$offset = mt_rand(0, 1000);
$key = 'index'.$offset;
I m curious each time the application is refreshed won't it create the different cache file with name "index212, index765,...and so on". So I m wondering what is the point of cache if its creating different cache file everytime page is reloaded.
Please bear with me, I m a beginner.
Thanks