It's a hardware fault, in new electricals they used non leaded solder. Non leaded solder is very hard and can crack, unlike leaded which is very flexible. If you experience the no wifi problem then your phone probably gets a little hotter than others when you use it. This constant heating is causing everything to expand and contract which the solder can't handle and eventually cracks.
By putting it in the freezer your causing everything to shrink back down and make the connection. It probably works but not for very long! I also don't recommend doing this as it will generate moister inside the phone and will not only cause corrosion inside, it will also trigger the internal sensor.
I do experience the no wifi problem, so I took my phone into apple, they said do you also make calls which don't go through most times and your apps crash? Which is a yes and he said its a hardware fault so we'll swap your phone over! I just have to take my photos off and get a new phone. My guess is the internal ariel is coming apart!
Before you try anything, just go see them, no harm will come of it and you won't destroy something which is very expensive by tring a quick fix!!