I thought the use of (tin) canned goods came about because of Bonaparte’s armies.
IIRC, margarine too.