You can reduce the cache limit from within Firefox. Since I don't use it, I don't know where the setting is but I'm sure Google will tell you. Somewhere around menu>options>advanced>network.
But isn't 300MB a really, really small number in the great scheme of things? What else would you use it for?