ember-auto-import icon indicating copy to clipboard operation
ember-auto-import copied to clipboard

Dynamic import missing fingerprint URL

Open tehmaestro opened this issue 1 year ago • 1 comments

Hi. I am using ember-auto-import 1.12.1 and I have a very weird issue.

When I leave the Dev Tools console opened and I press on Disable cache, the dynamic import that I am using works fine. As soon as I uncheck Disable cache, the fingerprint URL is no longer added, and the chunk.xxxx.js files are being loaded from the root domain. (without /assets, www.domain.com/chunk.xxxx.js)

Any ideas what might cause this issue?

Edit: It sometimes works without the Disable cache check, but randomly.

I confirm that the same vendor.js is being loaded. It happens randomly on Chrome, but I can successfully reproduce this every time in Firefox.

Edi2: I upgraded from 1.5.7 to 1.12.1 and I saw that the publicAssetURL is being read. So I added that and now it works. Still, I'd be very curious to understand what was going on.

tehmaestro avatar Sep 27 '23 15:09 tehmaestro

most likely a proxy cache along the way or load balancer still caching the old resources

void-mAlex avatar Sep 28 '23 11:09 void-mAlex