Closed Bug 1720259 Opened 5 years ago Closed 4 years ago

Loading cache assets very slow in Firefox Dev Edition, not in Firefox

Categories

(Core :: Networking: Cache, defect)

Firefox 90
x86_64
macOS
defect

Tracking

()

RESOLVED INCOMPLETE

People

(Reporter: thibaut, Unassigned)

Details

User Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_6) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/14.0.2 Safari/605.1.15

Steps to reproduce:

Visit https://smplr.me/BLZQAAx. On first load, the 3D assets take a few seconds to load which is normal. The bouncing sphere represent the loading state. Then refresh, the assets are cached and should load much faster.

I’ve tried to profile the browser (Firefox Dev Edition) during the load but I’m not seeing anything that explains why everything is loading for so long, see my recorded profile at Firefox Profiler 1 if that helps.

Actual results:

The cached assets (I’ve confirmed they are cached from the network tab in the devtools, after a reload) are extremely slow to load. The bouncing sphere are displayed for a few seconds (sometimes over 10s) even after they are displayed as loaded (cached in this instance) in the network tab.

To make things more complicated, this happens only with Firefox Developer Edition and Safari, but not with Firefox, Chrome, Chrome Dev, Edge, or Edge Dev. The experience is consistent with all browsers.

Expected results:

I'm expecting Firefox Dev Edition (90.0b12) to load the cached assets as fast as Firefox (89.0.2) does.

I’ve tried to profile the browser (Firefox Dev Edition) during the load but I’m not seeing anything that explains why everything is loading for so long, see my recorded profile at https://share.firefox.dev/2TUz1fs if that helps.

I've reported this on the Safari side as well: https://bugs.webkit.org/show_bug.cgi?id=227938

Tried to reproduce the reported load comparison betwen deved 90.0b12, Release 89.0.2 and Nightly 92.0a1 2021-07-14 with no luck using Windows 10, Mac 11, Mac 10.15.6.

Thibaut Tiberghien, could you please confirm that the deved reproduces the problem with a new clean profile (is the deved profile your main profile?)

Flags: needinfo?(thibaut)

(In reply to Adrian Florinescu [:aflorinescu] from comment #2)

Tried to reproduce the reported load comparison betwen deved 90.0b12, Release 89.0.2 and Nightly 92.0a1 2021-07-14 with no luck using Windows 10, Mac 11, Mac 10.15.6.

Thibaut Tiberghien, could you please confirm that the deved reproduces the problem with a new clean profile (is the deved profile your main profile?)

Hi Adrian, I've tried with a newly created profile on the deved and have the same experience. Not sure what you mean by "is the deved profile your main profile?".

Other info, sometimes the assets are "raced" and the experience is similar: the loading spheres are displayed for a while even after the assets where transferred.

Flags: needinfo?(thibaut)

The Bugbug bot thinks this bug should belong to the 'Core::Gecko Profiler' component, and is moving the bug to that component. Please revert this change in case you think the bot is wrong.

Component: Untriaged → Gecko Profiler
Product: Firefox → Core

Sorry bugbug, I believe this cache problem is not caused by the Gecko Profiler -- not sure which component would be best, so I'm reverting this bug to Firefox-Untriaged. Good luck!

Component: Gecko Profiler → Untriaged
Product: Core → Firefox
Component: Untriaged → Networking: Cache
OS: Unspecified → macOS
Product: Firefox → Core
Hardware: Unspecified → x86_64

Hi Reporter,

Are you still able to reproduce this on the current release version?
Does this still happen only on dev edition?

Thanks.

Flags: needinfo?(thibaut)

Redirect a needinfo that is pending on an inactive user to the triage owner.
:dragana, since the bug has recent activity, could you have a look please?

For more information, please visit auto_nag documentation.

Flags: needinfo?(thibaut) → needinfo?(dd.mozilla)

Returning it to the triage queue.

Flags: needinfo?(dd.mozilla)

Close this because we don't have enough information to move this forward.
Feel free to reopen. Thanks.

Status: UNCONFIRMED → RESOLVED
Closed: 4 years ago
Resolution: --- → INCOMPLETE
You need to log in before you can comment on or make changes to this bug.