Odoo.sh 页面在移动设备上加载速度太慢
在手机上,最简单的 Odoo 页面加载速度太慢 (Odoo.sh v13)
例如,对于简单的联系页面表单:
https://www.samalife.fr/contact 页面速度测试:得分 35 / 100 https://pagespeed.web.dev/ report?url=https%3A%2F%2Fwww.samalife.fr%2Fcontact
对于包括图像和视频的普通页面内容来说更糟: https://www.samalife.fr/bas-du-dos 页面速度测试:得分 28 / 100
速度诊断指出了这些瓶颈:
JS SCRIPTS ( 2,4 s ) .../web.assets_common_lazy.js .../web.assets_frontend_lazy.js
CSS 脚本 ( 2,4 s ) .../web.assets_common.css .../web.assets_frontend.css
未使用的 CSS 脚本 ( 1,6 s ) .../web.assets_common.css .../web.assets_frontend.css
服务器响应太慢(0,8 秒)
有没有办法改善移动设备上页面加载缓慢所涉及的不同方面:js、css、服务器响应?
如何实现css和javascript文件的延迟加载?
如何在 Odoo 中实现压缩以最小化 css 和 javascript 文件?
Odoo.sh 是否提供替代托管数据包以获得更高的性能?
相比之下,对于同一页面(contactus),rosehosting 演示: https://odoo-demo.rosehosting.com/contactus 获得 70 / 100 分
On mobile phone, the most simple Odoo page loads far too slowly (Odoo.sh v13)
For instance, for the simple contact page form:
https://www.samalife.fr/contact
Page Speed Test : score 35 / 100
https://pagespeed.web.dev/report?url=https%3A%2F%2Fwww.samalife.fr%2Fcontact
And it's even worse for a normal page content including images and videos :
https://www.samalife.fr/bas-du-dos
Page Speed Test : score 28 / 100
The speed diagnostic points these bottlenecks :
JS SCRIPTS ( 2,4 s )
.../web.assets_common_lazy.js
.../web.assets_frontend_lazy.jsCSS SCRIPTS ( 2,4 s )
.../web.assets_common.css
.../web.assets_frontend.cssUNUSED CSS SCRIPTS ( 1,6 s )
.../web.assets_common.css
.../web.assets_frontend.cssSERVER RESPONSE TOO SLOW ( 0,8 s )
Is there a way to improve the different aspects involved in theses slow page load on mobile : js, css, server response ?
How to implement lazy loading for css and javascript files ?
How to implement compression in Odoo to minimze css and javascript files ?
Does Odoo.sh provide alternative hosting packets for higher performance ?
Comparatively, for the same page (contactus), the rosehosting demo :
https://odoo-demo.rosehosting.com/contactus
get a score of 70 / 100
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论