Refactor performance

Speed up wouso by:
 * caching frequently called queries

Final goal, under 100ms request time for every page in wouso.