added memcached caching for views