Fix bug of scroll cache
Change `cache.page` param to `cache.limit` param
Change database reset interval
Add database buffer function