Machmir Or Make Cool?

What’s black and white and cold all over? A Lakewood bachur in the freezer.
It was the first Shabbos after Tu B’Shevat. Someone suggested to a Lakewood bachur that he go on a Shabbos stroll for a first date. The Lakewood bachur said, “Sorry, I don’t open a freezer on Shabbos.”
When a freezer or refrigerator door is opened, warmer air enters. If the door is left open long enough, the compressor will turn on to bring the temperature down to the set level. Even if the freezer door is opened only briefly, the opening will make the compressor turn on sooner than it would have otherwise. May one open a freezer door on Shabbos to get his ice cream, or must he wait until Sundae? Opening the door would be causing the compressor to activate, which is forbidden on Shabbos. This question—What is the scoop on getting ice cream from a freezer on Shabbos?—was already posed to the previous generation of poskim.
Rav Shlomo Zalman Auerbach, zt’l, opined that causing the compressor to go on would, at worst, be an issur d’Rabbanan. Further, there is usually a time delay between when the door is opened and when the compressor activates. The fact that there is a delay deems the action a gerama, indirect action. Rav Shlomo Zalman said that one may l’chatchilah cause a gerama for an issur d’Rabbanan and therefore may open the freezer door on Shabbos even though this will certainly cause the compressor to activate (or to activate earlier).