We will keep it simple, a ported box is the best compromise, it will give you the following pros and cons
Very accurate bass reproduction
Tight bass response
Great power handling
Somewhat small in size
Easy to build
Great low-frequency response
Bass rolls off at 12 dB/octave
Requires larger enclosure for deep bass response.
Will take up more room than infinite baffle.
Requires more woofers/enclosures/power for more output
A ported box needs to be built in the right volume and very important is to use the right port dimensions. Always use the recommended suggestions from the manufacturer because if you use the wrong port it might damage
your subwoofer or give you very poor performance.