Since just about the first version of Netscape (that I can remember), if you select cache in the settings dialog, there are two settings, one for how much disk space to use and one for how much memory to use.
(I had to double check just now since you asked. Yep, still there.)