如果您或您的用户在使用 Lightning Experience 时页面加载速度较慢,这可能与以下一种或多种问题类型有关。
请查看下面的问题描述和缓解策略,以提高您的 Salesforce 组织在 Lightning 用户方面的绩效。
评估您的网络延迟:当连接到您的 Salesforce 环境时,请咨询您公司的网络管理员或 IT 专业人员,以评估您的网络延迟。他们可以运行“ping”或“traceroute”等实用程序来收集数据,然后确定优化网络连接速度的方法。您还可以在此处测量 Salesforce 实例的下载和上传速度:https://[instance].salesforce.com/speedtest.jsp。
评估浏览器处理能力:使用 Octane 测量客户端设备(笔记本电脑、台式机、工作站或虚拟桌面)上浏览器的处理能力。如果 Octane 得分至少低于 20000,Lightning Experience 性能可能会很慢。高端客户端设备的 Octane 得分通常大于 32000。Octane 得分越高,Lightning Experience 性能越好。您可以尝试以下步骤来提高客户的 Octane 得分:
禁用不需要的插件和扩展:浏览器插件和扩展对 Lightning Experience 性能的影响取决于它们消耗多少 CPU 功率或内存资源。禁用特定的插件或扩展,看看这个变化是否会导致更高的 Octane 得分。禁用加载项的方式因浏览器而异。例如,在 Chrome 中,通过键入 chrome://plugins/ 或 chrome://extensions/,查看、启用和禁用插件或扩展。
使用最新的浏览器版本或修补程序:浏览器供应商通常会发布更新的版本或修补程序来提高性能、安全性或稳定性。
切换浏览器:性能因浏览器而异。Chrome 一直是运行 Lightning Experience 最快的浏览器,而 Internet Explorer 通常是最慢的。
重新启动您的浏览器或设备:每周重启一次浏览器和客户端设备会有所帮助。运行各种应用程序的客户端设备或浏览器可能会将过多的资源保留超过所需的时间。释放这些资源可使浏览器和操作系统的资源管理更加高效,允许浏览器和操作系统将更多的时间和系统资源用于像 Lightning Experience 这样的常用应用程序。
优化您的 Visualforce 页面:遵循我们在优化 Visualforce 性能的最佳实践开发人员文档中提供的指导原则。
禁用 Aura 调试模式:您的组织可能已经启用了 Aura 调试模式,以便在 Lightning 组件中更容易地调试 JavaScript 代码。但是运行 Aura 调试模式会降低 Lightning Experience 的性能。要在 Sandbox 和生产组织中关闭此模式,请转到设置,选择 Lightning 组件,然后取消选择“启用调试模式”复选框。
重新配置处理密集型页面:如果您的 Salesforce 组织的页面包含大量字段、低效的自定义组件或复杂的页面配置,请考虑降低其复杂性以缩短渲染加载时间。
000382793

We use three kinds of cookies on our websites: required, functional, and advertising. You can choose whether functional and advertising cookies apply. Click on the different cookie categories to find out more about each category and to change the default settings.
Privacy Statement
Required cookies are necessary for basic website functionality. Some examples include: session cookies needed to transmit the website, authentication cookies, and security cookies.
Functional cookies enhance functions, performance, and services on the website. Some examples include: cookies used to analyze site traffic, cookies used for market research, and cookies used to display advertising that is not directed to a particular individual.
Advertising cookies track activity across websites in order to understand a viewer’s interests, and direct them specific marketing. Some examples include: cookies used for remarketing, or interest-based advertising.