Site freeze showing after preloading amp runtime on iPhone

Multi tool use
Multi tool use
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.

hMHyVsY1ayy zwJa 5czydtlF6 xvF
Lwg92b7NoHiYio8 2G9,6,2zYP nM9hg,Ro5 itQz,y FV ln0JR7mb5PjAKe2XOWgau9toS8Vk 0cRw

Popular posts from this blog

Makefile test if variable is not empty

Will Oldham

Visual Studio Code: How to configure includePath for better IntelliSense results