Add attributes for cache size, and creates per sec

Also the attributes need to be strings because "inf" is a valid value