RAM is the overall memory, in both cases is 8Gb on those machines
The cache is (I think) the memory capability on the processor which affects how quickly the processor can use the memory
The price difference on those 2 is mainly for the difference in processors and partly size of hard drive that I can see
Are these comparable to the Apple Macs I was looking at, or are they more personal use and not business.