Amazon Silk 浏览器:前端开发人员的任何特殊注意事项
前端开发人员是否需要对 Amazon Silk 浏览器进行任何特殊考虑,因为它采用拆分架构并且会重新调整图像大小?或者从开发者的角度来看它是否可以被视为另一个 webkit 浏览器?
Do front-end developers need any special considerations for the Amazon Silk Browser because of it's split architecture and it's re-sizing of images? Or can it be considered as just another webkit browser from a developer's perspective?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
一般来说,您可以像为任何其他浏览器开发内容一样为 Amazon Silk 开发内容。 EC2 后端遵循所有标准缓存语义,并且 媒体处理 正如您所期望的。
一般来说,最好在图像和其他页面元素上显式设置高度和宽度属性,并针对外形尺寸进行响应式设计。换句话说,适用标准 Web 开发最佳实践。
In general, you can develop content for Amazon Silk as you would for any other browser. The EC2 backend follows all standard caching semantics, and the media handling is as you'd expect.
In general, it's a good idea to set the height and width attributes explicitly on images and other page elements, and to design responsively for the form factor. In other words, the standard web development best practices apply.
总的来说,我发现 Silk - 尤其是较新的版本 - 表现得像一个相当标准的 WebKit 浏览器。一些 Apple 特定的调整不存在,因此在桌面上针对 Chrome 进行测试是最接近的体验(尽管有一个警告,Chrome 似乎确实比其他任何人都更快地进行 webkit 修复)
我没有看到任何表明加速浏览对于 EC2 托管内容有什么不同 - 由于托管内容通常来自多个来源,我不认为他们会在内部和外部网络上分配流量,尽管这听起来值得在论坛中询问forum.developer.amazon.com/forums/category.jspa?categoryID=3 获取官方答案
In general I've found Silk - especially the newer versions - to behave as a pretty standard WebKit browser. Some of the Apple specific tuning isn't there so testing against Chrome on the desktop has been the closest experience (though one caveat there is that Chrome does seem to take webkit fixes faster than anyone else)
I've not seen anything that would indicate that accelerated browsing does anything different for EC2 hosted content - As hosted content often comes from a number of sources I don't expect they'd split traffic on internal and external networks though it sounds like something worth asking in the forums at forums.developer.amazon.com/forums/category.jspa?categoryID=3 to get an official answer