Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Dynamic import missing fingerprint URL #595

Open
tehmaestro opened this issue Sep 27, 2023 · 1 comment
Open

Dynamic import missing fingerprint URL #595

tehmaestro opened this issue Sep 27, 2023 · 1 comment

Comments

@tehmaestro
Copy link

tehmaestro commented Sep 27, 2023

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.

@void-mAlex
Copy link
Contributor

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants