Reworked work with cached items. Cache be stored in files and load to memory without db.