Giter Site home page Giter Site logo

Cache? about sheetsee.js HOT 4 CLOSED

username1290 avatar username1290 commented on June 28, 2024
Cache?

from sheetsee.js.

Comments (4)

jlord avatar jlord commented on June 28, 2024

@sogen server-side or in the browser? I played around with the server-side option in jlord/sheetsee-cache, but haven't touched it in a awhile as I've focused on sheetsee client-side stuff. But I haven't played with caching in the browser yet, though you should be able to save it with localStorage.

from sheetsee.js.

username1290 avatar username1290 commented on June 28, 2024

This question arose from the time it takes to parse the data. In my tests sometimes it fails to load some of the data, showing only the first colum, and fails to load the data in the next columns.

I'm also using foreign characters in the cells, I just removed them from the headers.

I'm behind a proxy at work, don't know if that's why it fails about 2 in 10 reloads. Will check from home if it loads fine if not using a proxy.

Do you have any tips to speed it up?
Thanks

from sheetsee.js.

username1290 avatar username1290 commented on June 28, 2024

Oh, thanks I'll check the server-side script!
Since the file won't change too frequently, ideally I'd like to have the data already saved/parsed to load it faster.

from sheetsee.js.

jlord avatar jlord commented on June 28, 2024

If it loads some but not all of the data, my guess is there is something in the spreadsheet causing the error.

The speed depends on Google and your internet -- however long it takes to fetch it from Google is how long it takes. It should return with all of the data each time. It's typically not that long but depending on your connection and amount of data, it could be slower than you want, in that case, yeah check out the caching stuff πŸ‘

from sheetsee.js.

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.