简体   繁体   English

为什么我的站点在 Safari 上呈现如此缓慢?

[英]Why does my Site render so slowly on Safari?

I am working on the following Site: https://fsa.thewire.ch It's been working smoothly on Chrome.我正在以下站点上工作: https://fsa.thewire.ch它在 Chrome 上运行顺利。 Now I have tested it on Safari and 1. the site loads more slowly and 2. and more importantly, the site only renders a little bit more than what is in the viewport.现在我已经在 Safari 和 1. 站点加载更慢 2. 更重要的是,站点仅呈现比视口中的内容多一点。 When I scroll through the page "quickly" it takes a while to load the content.当我“快速”滚动页面时,加载内容需要一段时间。 I'm using a landing image with a $(window).load function but safari doesn't seem to care about that.我正在使用带有$(window).load .load function 的着陆图像,但 safari 似乎并不关心这一点。 I don't experience the issue on other pages and my page is not extremely heavy.我在其他页面上没有遇到这个问题,而且我的页面不是很重。 Also, the network tab doesn't show any issues.此外,网络选项卡没有显示任何问题。 What do I have to change?我必须改变什么?

Some jpg files, a svg file and this js: https://fsa.thewire.ch/wp-includes/js/wp-emoji-release.min.js?ver=5.4 spend a lot to be downloaded.一些 jpg 文件,一个 svg 文件和这个 js: https://fsa.thewire.ch/wp-includes/js/wp-emoji-release.min.js?ver=5.4花了很多钱来下载。 In some Safari configurations this can be a problem.在某些 Safari 配置中,这可能是个问题。 Try to resize the jpg files and check why this js file spend a lot of time to load尝试调整 jpg 文件的大小并检查为什么这个 js 文件花费大量时间来加载

are you using wordpress?您在使用 wordpress 吗?

good luck Matias Creimerman祝你好运马蒂亚斯·克雷默曼

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

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