Site freeze showing after preloading amp runtime on iPhone

The name of the pictureThe name of the pictureThe name of the pictureClash Royale CLAN TAG#URR8PPP


Site freeze showing after preloading amp runtime on iPhone



What's the issue?



For the best practice, recently I have implemented the Preload technique to load AMP runtime with high priority and loaded the runtime script later on with async.



The problem is, after implementing this changes sometime site freeze issue producing on iPhone Safari browser. If I have cleared the safari browser cache and start browsing my site, then site doesn't work like the amp state binding related section not working. seems amp-state variable bind does not working although site loaded completely, so some logic or action related to any operation with amp-state variable define totally not working.



How do we reproduce the issue?



If I have cleared the iPhone safari browser cache, then start browsing my site. site loaded showing but while I clicked on some section on my web page where amp-state bind related operation exist,it doesn’t work totally. seems site freeze with no operation happen and it's feel like nothing working.



Then if I reload again & again after sometimes it works. Seems sometime amp-state variable bind not set properly, Although site is fully AMP validated with successful result.



Why this happen and how this freeze could be solved? Any suggestion please?









By clicking "Post Your Answer", you acknowledge that you have read our updated terms of service, privacy policy and cookie policy, and that your continued use of the website is subject to these policies.

Popular posts from this blog

C# - How to create a semi transparent or blurred backcolor on windows form

Will Oldham

Makefile test if variable is not empty