Image stuck - "pending" network status for src / ng-src

I am writing an application whose data has several links to images that I assign to the ng-src (Angular src) directive. the image gets stuck from time to time, and I see a β€œpending” status on the network debugging tab. The image is received in a minute or so. within the same minute I take the url of the image and put it in another browser and the image is immediately displayed

Any ideas what this could be?

thanks a lot lior

+4
source share
1 answer

I came across this when running angular / yoman / grunt.

It seems I fixed it using localhost instead of 127.0.0.1 in my url.

Then all the images appeared.

Although now I see that the old url is working ...?

Probably worth a try, anyway.

+1
source

Source: https://habr.com/ru/post/1486667/


All Articles