jamiebarrow
Member
- Joined
- Sep 28, 2010
- Messages
- 16
- Reaction score
- 0
Hi all,
I'm developing an app using knockout.js and decided to use the HTML comments for doing the bindings, e.g.
<!-- ko with: selectedItem -->
<div>Selected: <span data-bind="text: name"></span></div>
<!-- /ko -->
The app is meant to be accessible from mobile phones, and this works fine if I test via WIFI on my Samsung Galaxy S3 inside Google Chrome, but when I try and access it with WIFI turned off, and go through mobile data, then for some reason the markup is compacted and optimised with HTML comments either removed or compacted, e.g.
<!--//--><div>Selected:<span data-bind="text: name"></span></div>
The server that is serving the page doesn't do any optimisations like this and so I'm assuming that there must be something on the Vodacom network that is stripping this stuff out. Can anyone confirm if my suspicion is correct?
Unfortunately I can't disclose the URL I'm testing at the moment as it's not officially live and is going through a testing phase.
Thanks,
James
I'm developing an app using knockout.js and decided to use the HTML comments for doing the bindings, e.g.
<!-- ko with: selectedItem -->
<div>Selected: <span data-bind="text: name"></span></div>
<!-- /ko -->
The app is meant to be accessible from mobile phones, and this works fine if I test via WIFI on my Samsung Galaxy S3 inside Google Chrome, but when I try and access it with WIFI turned off, and go through mobile data, then for some reason the markup is compacted and optimised with HTML comments either removed or compacted, e.g.
<!--//--><div>Selected:<span data-bind="text: name"></span></div>
The server that is serving the page doesn't do any optimisations like this and so I'm assuming that there must be something on the Vodacom network that is stripping this stuff out. Can anyone confirm if my suspicion is correct?
Unfortunately I can't disclose the URL I'm testing at the moment as it's not officially live and is going through a testing phase.
Thanks,
James