sambernard / react-preload

Component to preload images before showing content

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

crossorigin breaks cache when using it without it

jrmyio opened this issue · comments

I was trying to use the ImageHelper and ImageCache to preload some background images I am using in my CSS. However, as of :
5c80e8f

it seems to break (tested in Chrome) from using the cached image in a CSS background image.

I think this crossorigin setting should be made optional.

@ConneXNL I actually just saw this on one of my sites last week, will update shortly.