Import memcache modules only if memcache is enabled via setting in default.py, change cache expiry for import to 600 seconds