[SalesForce] Why Lightning Experience is freezing (crash, hang, become unresponsive) after reload via F5

While I'm developing Lightning Components I usually have this workflow:

  • First I change my code
  • Then I save it
  • Finally I reload LEX to get the newest version of the component rendered via F5 to see and debug the results.

This is my usual development cycle.

But also when I'm working in LEX as user, I very often use F5 to reload everything. This I do unrelated from development, just to ensure that I see the most recent data.

Starting with Winter 18 I noticed a very odd behavior in at least two different flavors:

a) Regular freeze

Every second time I reload LEX via F5, it get stuck. It's freezing completely and the page becomes unresponsive.

b) Random freezings

Just using LEX (while development or just as normal user) and refreshing with F5 from time to time randomly the same freezing is happening.

In both cases a+b: there is only the release icon visible at that time:

enter image description here

Some time later a Page Unresponsive popup appears:

enter image description here

With Summer 17 this never happened. I cleared the browser cache, uninstalled all browser extensions, installed even different versions of Chrome, but none of this helped.

What is going on here?

At the network tab the freezing happen very early while loading one.app

enter image description here

Update

At least for scenario a) described above I found the reason – see it in the answer below. But this is not all: still b) is happening from time to time but it is rare enough to prevent me for debugging it to nail it down.

Also my colleagues and others here are reporting similar effects. It is happening irregularly. And it's happening on standard pages without any custom components, too. So in my opinion there is a serious bug in W18. Possibly multiple things can cause that – but it's nearly impossible for us to investigate that deeper.

Please feel free to add your scenarios (in the question, in comments or as answers if you solved such freezings).

Best Answer

Just received this mail from Salesforce, seems to be fixed in all instances:

Dear Sebastian:

We are pleased to notify you that the following Known Issue has been resolved: Chrome 60 and above crashes when "Enable secure and persistent browser caching to improve performance" is unchecked in Session Settings on Winter '18. Thank you for being patient while we worked to address this issue. Please feel free to reach out to Customer Support if you have further questions. Sincerely, Salesforce Success Team

And I can confirm, that I can't reproduce it anymore. Not with the Home page and not with a custom Component page.

Related Topic