title: What is storage component in zend framework 2 caching
body: <p>I don't know this is a relevant question here. But i got confused a little bit.
  Currently i am using zend framework 1. In one of my site i am build cache. </p>
  
  <p>this my current code</p>
  
  <pre><code>      $frontend= array(
       ‘lifetime’ =&gt; 7200,
       ‘automatic_seralization’ =&gt; true
        );
  
    $backend= array(
       ‘cache_dir’ =&gt; ‘./tmp/’,
   );
  
   $cache = Zend_Cache::factory(‘core’
      ‘File’,
      $fontend,
      $backend
    );
    Zend_Registry::set(‘cache’,$cache);
  
    $cache = Zend_Registry::get(‘cache’);
    if(!$result = $cache-&gt;load(‘mydata’)) {
         echo ‘caching the data…..’;
         $data=array(‘1’,’2’,’3’);
         $cache-&gt;save($data, ‘mydata’);
    } else {
  
     echo ‘retrieving cache data…….’
  
    }
  </code></pre>
  
  <p>But i am look in to the zf2 some storage factoriesare doing this job. But i cant figure out storage factories. If any one know about this please help me</p>
  
  <p>Thanks in advance</p>