Open ChasNelson1990 opened 1 day ago
Some updates from me trying to recreate:
On Linux and Chromium and using the prod site I am getting one 502 roughly every 10 soft refreshes; much lower than reported above - it seems only to be xxxxxx_main.js
The message in the nginx logs is confirmed
I am a bit confused about the comment about the CKAN logs - the 404 isn’t obviously linked for me; the xxxxxx_main.js file is actually returned with a 304 (i.e. it should use the client-side cached version anyway)
I have gone in and checked the compiled webasset files in the pod and the xxxxxx_main.js was last modified on 2024-09-05 so I don’t think it’s Jonathan reenaming idea Originally posted by ChasNelson1990 on Jira.
Just tested on local and assets always loaded (the machine I used is fairly slow, so shouldn’t be caused by just the speed of the server) Originally posted by mixmixmix on Jira.
In my chrome browser for [wrc-stg.fjelltopp.org|http://wrc-stg.fjelltopp.org] I keep get assets (vendor.js, fileinputcomponent.js, fontawesome, css etc…) randomly failing to load with 502s….
My best idea… The last point is particularly interesting? Maybe the webassets are changing their names and a hard refresh is pulling a new html document which is requesting the new asset names, but when using the cached html document the browser is requesting assets old assets no longer available for some reason.