Use werkzeug caching wrappers
Use mimetype and more specific value