After an upgrade from 5.38 to 5.44 on a Drupal 8 site the menu and dashboard failed to load. Other page elements, like the footer and header did load. Status page was also inaccessible, but mysite/civicrm/admin and other administrative pages could be accessed. However, edit windows for contacts would just show the spinning throbber and never load, nor would other ajax components work such as help popups, etc. Turning on Debugging, without taking any other action solves all the problems, but obviously I don't want to leave debugging on. Does anyone have thoughts on what might be causing the problem?
UPDATE After checking the console I see that the page is throwing a pile of 403 errors when it attempts to access angular files in /civicrm/persist/contribute/dyn/ BUT ONLY when debugging is disabled. When I turn on debugging the 403 errors disappear.