Adding caching

Through Dalli and memcached, hopefully this speeds things up