There is not answer to this, but I always suggest that the whole bass sound and punch comes from: good player, good bass, good strings.
If you don't this then the rest of the discussion is pointless.
I am a bass player and a sound engineer, I often record with DI and Miced Cab (my favourite), or just a miced cab or a DI. Some of my basses sound great just DIed some need to have a miced cab. I often use compression on the bass track when mixing, I mix in the analog domain but the same thing will work with software. I would have 2 tracks (mic and DI) balanced in the mix, I would also have a send from both (or sent to a common bus) and on that send/buss have a compressor, I use a DBX163 in the analog world, then mix the compressed track back into the mix, so effectively there are 3 bass tracks, DI, Mic and the mixed compression channel. This is my starting point but this is not set in concrete and sometimes I do it differently depending on what works for the mix/song.
Alan.