This is the kind of shit that always sells 3d printing to me, when is see someone solve a whacky problem they have that otherwise would be kinda hard to pull off.
I’m guessing that these days the filaments/resins are getting pretty high durability on the consumer market?
Also, one of the biggest killers of 3D printed parts is heat, and the other is ultraviolet exposure. If OP is putting this in his fridge I think it's in the one place it's going to encounter very little of both.
The durability comes with the design and the material used. As I said on another comment the first version was very fragile and was bending with barely any weight on it.
After adding a bracket to hold the glass in between it keeps its form even with food on top. It all depends on how you design the piece and in which direction you print. Not always the easiest way to print is the best for durability.