Example of caching MVC response using Filesystem cache in ZF2

The code is available on my Github:¬†https://github.com/shenghuahe/zf2-cache-mvc-response Configuration The filesystem cache is configured within Application/module.config.php and therefore delegated to ZendCacheServiceStorageCacheAbstractServiceFactory to construct the Cache Adapter. Response Caching The caching for the MVC response is done through event listeners. This is for separating the concerns and making the code much better decoupled and reusable. Check out […]

Read More »

Create a Zend Framework 2 Module for Composer

I am sure everyone has been using Zend Framework 2 (ZF2) modules created by many others via Packagist, but it can be a little tricky when it comes down to creating your own ZF2 modules to work with Composer, especially when using your own private VCS repository. I found the documentation for setting this up […]

Read More »