implement database cache to most used objects