adding basic caching system. rendering the homepage now takes ~31ms (agains ~4900ms before)