preloading the buffer from url