Maybe it laid eggs and there are also tiny (in comparison) baby spiders that trap and eat the smaller prey until they grow huge like their mother and start to hunt bigger game, or there could be other spider species in that cave.
I'm definitely not a spider expert or anything though, but...