When using flask_cache:
ExtDeprecationWarning: Importing flask.ext.cache is deprecated, use flask_cache instead.
Even if user code is correct (using flask_cache instead of flask.ext.cache) the warning is still thrown. I suspect this is because internally an import to flask.ext.cache is called, thus spawning the warning.