Add debug toolbar and update cache strategy in templates