def createDbCache(self, filename, ext=".db"):
        '''using dataabse as cachce'''
        if not ext.startswith("."):
            ext = "." + ext

        if self._cache:
            self._cache.dumpCache()

        createFolderStruc(self.cacheFolder)

        path = makePath(os.path.join(self.cacheFolder, filename) + ext)
    def createDbCache(self, filename, ext = ".db"):
        '''using dataabse as cachce'''
        if not ext.startswith("."):
            ext = "." + ext
            
        if self._cache:
            self._cache.dumpCache()
        

        createFolderStruc(self.cacheFolder)
            
        path = makePath(os.path.join(self.cacheFolder,filename)+ext)
    def createPersistenCache(self, filename, ext=".cache"):
        '''Create persistent cache - dict. On cache delete is stored as pickle on hdd.'''
        if not ext.startswith("."):
            ext = "." + ext

        if self._cache:
            self._cache.dumpCache()

        createFolderStruc(self.cacheFolder)

        path = makePath(os.path.join(self.cacheFolder, filename) + ext)
        self._cache = _SimpleCache(path, persistent=True)

        pass
    def createPersistenCache(self, filename, ext = ".cache"):
        '''Create persistent cache - dict. On cache delete is stored as pickle on hdd.'''
        if not ext.startswith("."):
            ext = "." + ext
            
        if self._cache:
            self._cache.dumpCache()
        

        createFolderStruc(self.cacheFolder)
            
        path = makePath(os.path.join(self.cacheFolder,filename)+ext)
        self._cache = _SimpleCache(path, persistent = True)
           
        pass