adding ranking for cache attributes