delete settings.py and add cache for templates