Preheat oven to 350 degrees Fahrenheit and spray a 9 x 13 x 2-inch baking pan lightly with nonstick cooking spray.
In a large bowl, whisk together ½ cup vegetable oil, ¼ cup sour cream, and 1 ½ cups granulated sugar.
Add 3 large eggs and 2 teaspoons vanilla extract and whisk until smooth.
In a medium bowl, whisk together 2 teaspoons baking powder, 1 teaspoon baking soda, ½ teaspoon salt, and 2 ½ cups all-purpose flour. Add the flour mixture to the sugar mixture and carefully whisk it un just until incorporated.
Fold in 2 cups crushed pineapple with juice with a spatula until combined.
Pour the batter into the prepared pan and bake for 30-40 minutes until a toothpick comes out clean from the center. If the top of the cake is golden brown and beginning to darken too much after 20-25 minutes, carefully cover it with foil as best you can without removing it from the oven to prevent further browning.
Let the cake cool to room temperature before serving. Serve with whipped cream and toasted coconut, if desired.