refill first when cache is empty, get image afterwards