Fix cache settings and wsgi module