* feat: repository used space refactor: use a smarter cache key logic for easier invalidations * chore: pr feedbacks