It might be obvious to say, but the best way to keep your cooler cold is to make sure that heat stays out, and the best way to keep your cooler cold is to line the inside with aluminum foil. What this does is it reflects rays from the sun (and consequently, heat), in an effort to slow the melting of ice.