added dalli and memcache, caching main pages for 1 hour