If you grow your own tomatoes you can use cultivars that are optimized for taste, not for looking beautiful on a shelf for several days after being transported a hundred miles. It also helps to pluck them only when they're most ripe.
And to eat them well before they even catch a whiff of a refrigerator.