Jun 1 2009

Zend_Cache_Frontend_Page & Google Analytics cookies

zend-framework Last week I was optimizing the caching strategy for one of my projects and I was under the false impression that caching was accelerating my website.

At that time I was using Zend_Cache_Backend_File as my backend and cache files were created. My goal was to boost the performance by implementing the Zend_Cache_Backend_Memcached backend. Again everything seemed to be working fine because my Memcached logging displayed activity of some sort.

I was stunned to hear that in fact all of those cache files where created, but never read. So here I am optimizing everything, but in reality I was creating extra overhead. So I started my quest and found the solution (sorry for the spoiler).
Continue reading