Recently had a shopping cart we manage show gibberish looking code only on mobile. This is obviously not reassuring to customers and does bring up the concern of a possible hack.
The problem was harder to troubleshoot because the behavior wouldn’t replicate on a browser emulator which made it harder to find the error. However, to save someone else the time, the problem was that the output compression store setting needs to be changed to 0.