问题
We recently developed a website and deployed to live. Only for Android phones, in the Chrome Browser with Data Saver turned on (which is the default setting), the website is facing a lot of issues.
One of the issues was that the user is not getting logged in after registration. Ideally, the user should be immediately logged in after registering on the website. But, with Data Saver on, after register, the user is still logged out and you have to manually login again. Could it be because the cookie is not getting created or not being persisted?
Another issue was that the JavaScript is randomly breaking on one of the pages. It behaves very weird.
I tried setting the header Cache-Control "no-transform" through htaccess but still the problem persists:
<IfModule mod_headers.c>
Header set Cache-Control "no-transform"
</IfModule>
Any suggestions regarding this issue?
回答1:
I'm the lead on the Data Saver team. This should not be happening - if you can share details of the site (URL etc.) we can look into it.
来源:https://stackoverflow.com/questions/37414522/android-chrome-data-saver-causing-website-issues