-2

I have a very basic app with angular and firestore. Upon checking the performance in lighthouse of the app, it states

Minimize Critical Requests Depth

This is primarily on the angular bundle files.

Is there a solution to solving this particular message?

enter image description here

Que
  • 957
  • 2
  • 14
  • 35
  • Is it complaining because you had to load the app? Keep in mind Angular is a heavy package. It's loading an entire site's worth of pages in one go. The advice "defer the download of unnecessary resources" is not going to solve your issue in this case. – theMayer Jan 12 '19 at 20:38

1 Answers1

0

Instruct your web server to send appropriate cache-control headers for these files.

How to do this will depend on your web server.

meriton
  • 68,356
  • 14
  • 108
  • 175
  • Hey @meriton - I included the wrong message in my question, apologies. The header cache control was solved. It's primarily the angular bundle files in the "Minimize Critical Requests Depth" message. – Que Jan 12 '19 at 20:07
  • Please don't edit your question to ask for a completely different thing, because it will trip up future visitors to this question. – meriton Jan 12 '19 at 20:12