I have an image as below:
<img [attr.src]="sanitizer.bypassSecurityTrustUrl(imgSource)">
And the imgSource
is always same after retrieved once. However, it keeps requesting the image again and again from the network (see ).
However, if I don't use the sanitizer, the image is retrieved only once as it is expected. Is it a bug of the sanitizer or is something else wrong?