Magento: Performance-Optimierung bei Kategorie-Ansicht

Folgender Code kann die Performance von Kategorie-Ansichten enorm beschleunigen, denn diese kann besonders bei Bundle-Products ziemlich schlecht sein. Steigerungen von 400% konnte ich messen. Mage/Catalog/Block/Product/List.php protected function _construct() { $this->addData(array('cache_lifetime' => false)); } public function getCacheKey() { $category = Mage::getModel('catalog/category')->load($this->getCategoryId()); return $this->getRequest()->getRequ...

redmine: Solution for: "cannot load such file -- fcgi (LoadError)"

The following error appeared: /usr/lib64/ruby/gems/2.0.0/gems/activesupport-3.2.16/lib/active_support/dependencies.rb:251:in `require': cannot load such file -- fcgi (LoadError) from /usr/lib64/ruby/gems/2.0.0/gems/activesupport-3.2.16/lib/active_support/dependencies.rb:251:in `block in require' from /usr/lib64/ruby/gems/2.0.0/gems/activesupport-3.2.16/lib/active_support/dependencies.rb:236:in `load_dependency' from /usr/lib64/ruby/gems/2.0.0/gems/activesupport-3.2.16/lib/activ...

MySQL Workbench: Remove default schema at export

Currently it is not possible to export a database in MySQL Workbench without default schema. This is a problem if you want to import the sql file into another database. Editing very large sql files is not even possible. For Linux the following commands may be useful. It replaces all schema names in all sql files in the current directory. find . -name "*.sql" -print | xargs sed -i 's/NOT EXISTS `olddatabase`/NOT EXISTS `newdatabase`/g' find . -name "*.sql" -print ...