![]() I’ll continue looking for the script and update once I’ve found it but it is currently 1AM here so it may only be tomorrow. The issue is being caused by a 3rd party script adding loading="lazy" to all elements in the page in conjunction with the Image lazy loading feature of Safari being shipped enabled in 15.4. Support for the lock() and unlock() methods remain experimental features for the time being. It allows web app developers to display an app badge count just like any other app on iOS or iPadOS. Without clearing the cache the script is in memory and so is being executed without the small delay of the download. WebKit on iOS and iPadOS 16.4 adds support for the Badging API. Clearing the cache forces the script adding the attribute to be downloaded again and the time it takes to do this is all that is needed to correctly trigger the requests for the images. Experimental Features in Safari on IOS 12.1.4 Does anyone know which webkit features are enabled by default in safari on IOS 12.1.4 i enabled all off them and now some websites don't function correctly i need to know which webkit features should i disable 4 years ago 13270 2. This is also probably why it is inconsistent with the hard refresh. So currently I’m trying to find the bit of JavaScript in your page that is going along and adding this attribute to all the images. This was done as it was not fully supported and we have a JS implementation providing the lazy loading logic. If you view page source you can see the markup as it is received from the server and checking the elements within the gallery, you’ll see none have the loading="lazy" attribute. We’re not outputting this attribute in our gallery markup. Now obviously this is not a solution, but here in lies the tricky part. If you temporarily disable this and refresh your page, everything loads correctly. You can also test this by going to your iOS Settings > Safari > Experimental WebKit Features and scrolling down in the list until you see Lazy image loading is enabled by default in 15.4. ![]() If I remove the loading="lazy" attribute from any of the blank elements it suddenly pops into view. ![]() It is not the ResizeObserver changes like I originally thought but rather Apples implementation of the loading="lazy" attribute for images and iframes.Įssentially the plugin is loading all the images and setting their src attributes, however if you check in the Developer Tools > Network tab you’ll see the browser is not actually performing the request. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |