Which type of memory is primarily used in cache memory?
Cache memory is composed of 2 types of memory:RAM (Random Access Memory) this is used to store the data copied from main RAM as a series of Cache LinesCAM (Content Addressable Memory) this is used to store the main RAM address for each Cache Line, so the data in Cache Memory can be found and associated with main RAM. The CAM also typically contains special flags (e.g. the "dirty" bit - indicating that the Cache Line has been modified and will have to be written back to main RAM).Cache memory also contains controller logic to coordinate the necessary actions.The first computer built to have what we now call Cache memory was the IBM Stretch 7030 introduced in 1961. However IBM at the time called this feature "Virtual memory". (Confusing isn't it?)