ts1/flipbook-vue

2 Get request sent even though singlePage prop is used

seonWKim opened this issue · 2 comments

it sends 2 Get requests to the server when I flip to the next page
image

my code is
<flip-book class="flipbook" :pages="pages" v-slot="flipbook" ref="flipbook" singlePage>

this behavior sends duplicate requests for the same image whenever I flip to next page. Btw I love "flipbook-vue", it's so wonderful

ts1 commented

I guess the second one is the prefetch.
This component prefetches the images for the smooth user experience.
You may see the same image is fetched multiple times (prefetch and real img), but it should be served from browser's cache, so that should not be a problem.