简体   繁体   English

网站在iPhone 4S和5中崩溃

[英]Site crashing in iPhone 4S and 5

My website is http://www.delizie.eu/ and it is crashing in iPhone 4S and 5 in Safari and Chrome Browser at the very load of the first slide. 我的网站是http://www.delizie.eu/,并且在第一张幻灯片加载时,它在Safari和Chrome浏览器中的iPhone 4S和5中崩溃了。 I have been unsuccessful in finding the solution. 我一直没有找到解决方案。 Please help me to find the solution. 请帮助我找到解决方案。 Thanks! 谢谢!

Your website loads correctly on my iPhone 5 device and on a iPhone simulator. 您的网站可以在我的iPhone 5设备和iPhone模拟器上正确加载。 If you like to to see a console of the logs, HTTP request and errors i would suggest you use Safari developer mode. 如果您想查看日志,HTTP请求和错误的控制台,我建议您使用Safari开发人员模式。 Go to Apple site here for a guide. 在此处访问Apple网站以获取指导。

Some suggestion i have is to optimize your site as to load the complete site with all the rich media content its takes about 30 - 45 seconds as there 4mb of content to be downloaded. 我的一些建议是优化您的网站,以使所有富媒体内容都加载到完整的网站上,因为要下载4mb的内容需要30到45秒。 Use Google PageSpeed insight to get a breakdown of improvements such as minifying JS, CSS and reducing images etc... 利用Google PageSpeed洞察力获得细化的改进,例如缩小JS,CSS和减少图像等。

You should also think about reducing the amount of request that been site to the server, in total there 98 request which about 50 of them are images. 您还应该考虑减少发送到服务器的请求数量,总共有98个请求,其中约50个是图像。 Using a well known CSS technique like image sprites allows you to reduce the number of server requests and save bandwidth by combining collection of images into a single image. 使用图像精灵等众所周知的CSS技术,可以通过将图像集合组合到一个图像中来减少服务器请求的数量并节省带宽。 Other technique you could use is AJAX 您可以使用的其他技术是AJAX

Take a look at Wordpress plugins that can help with speed w3-total-cache which adds better caching compared to the default option and also Smuch.it by Yahoo which reduces image size. 看一下可以帮助提高w3-total-cache速度的Wordpress插件,与默认选项相比,它可以提供更好的缓存,而Yahoo的Smuch.it可以减少图像大小。 Here a guide on other things you can do to improve your site 这里一个引导上的其他事情可以做,以提高你的网站

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM