Giter Club home page Giter Club logo

Comments (8)

mediavrog avatar mediavrog commented on June 16, 2024 1
23-01-22-19-14-14.1.mp4

from flipbook-vue.

mediavrog avatar mediavrog commented on June 16, 2024 1

@mediavrog that use case looks great. How did to worked with opensea? The image src points to html page with flipbook?

animation_url is used. Html and assets need proper CORS then all works well

from flipbook-vue.

kabaluyot avatar kabaluyot commented on June 16, 2024

@mediavrog that use case looks great. How did to worked with opensea? The image src points to html page with flipbook?

from flipbook-vue.

ts1 avatar ts1 commented on June 16, 2024

I tried it on my demo page and was able to reproduce it on Chrome's slow network emulation, but not on an Android machine on a very slow network with Wi-Fi turned off.

Flipbook-vue loads the same image URL in advance with new Image and then after onload actually uses it in <img>, background-image etc.
This means that if caching is properly enabled on the browser side, this problem will not occur.
Conceivably, the server on which you are hosting the image does not allow caching properly?

from flipbook-vue.

mediavrog avatar mediavrog commented on June 16, 2024

Screenshot 2023-01-29 at 21 56 13

I set cache to one week and headers look alright.
I wonder if an iframe could somehow interfere with this.

from flipbook-vue.

mediavrog avatar mediavrog commented on June 16, 2024

Ok I also noticed the issue occurs mainly if I disable caching in the network console. But shouldn't the flipper show the loading svg in that case and then the image?

from flipbook-vue.

ts1 avatar ts1 commented on June 16, 2024

It should, but since it is difficult to manage strictly, it treats URLs as cached once they have been loaded successfully.

from flipbook-vue.

mediavrog avatar mediavrog commented on June 16, 2024

I see.
A proper caching inside the plugin would resolve this then..

from flipbook-vue.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.