If your caravan has the normal electrical equipment in good repair & you have twin sockets on your car(or new 13pin setup)with both black & grey leads(or single 13pin on new caravan)plugged into car then your fridge will operate on 12v from your cars' battery while you drive.
When you are parked on site you run your fridge from mains ehu or gas.