Firefighters prevented the fire spreading to other caravans