add cache system ; add unittest for cache system ; new way to generate SECRET_KEY in settings.sample.py