remove caching and fix mimetype on themescontroller