add check for db connection

- add cache for db connection
- remove cache info file..