Using Memcache

1. About memcached   See     2. About memcache (the php extension)   See     3. Different between memcached and memcache   (1) What’s memcached? Free & open source, high-performance, distributed memory object caching system, generic in nature, but intended for use in speeding up dynamic web applications by alleviating database […]

Posted in Optimization | Tagged | 5 Comments

Caching application.ini for Zend Framework apps

In most of the time we build our application using Zend Framework, we make index.php as the entry which creates the object of Zend_Application and it’s configurations such as Application.ini.   But it’s very expensive when reading and parsing the Application.ini for every request.   It gave me inspiration to prevent parsing the ini for […]

Posted in Zend Framework | Tagged , | Leave a comment

Sending all css and js in one request

As we all know, one thing which mainly slow down our site is the plenty of css and js files. But very often we have to make them seperate from each other in order to facilitate management.   The problem we met in day-to-day practice is that, it’s more faster to send one file which […]

Posted in Optimization | Tagged , | Leave a comment

Zend Framework performance optimize – Class Loading

Zend Framework is poweful with out questions. It has provided full-featured class library and components. But one thing also become a problem at the same time when Zend Framework show greatly convenience to users which is so called unbridled use.   One of the example is the Class Loading. It cost a lot in Zend […]

Posted in Zend Framework | Tagged , | 1 Comment