implemented gzip and memcached