title: Zend(ZF1) - how to clear cache
body: <p>I have updated the app.ini file but somewhere someone wrote this code to have used cache. How can I clear the cache?</p>
  
  <pre><code>    static $configuration;
  
      if (!$configuration) {
          if (Zend_Registry::isRegistered("configuration")) {
              $configuration = Zend_Registry::get("configuration");
          }
          else {
              $cache = self::getCache();
  
              if (!$configuration = $cache-&gt;load("configuration")) {
                  $configuration = new Zend_Config_Ini(APPLICATION_PATH . "/config/app.ini", APPLICATION_ENVIRONMENT);
                  $cache-&gt;save($configuration, "configuration");
              }
  
              Zend_Registry::set("configuration", $configuration);
          }
      }
  </code></pre>