Giter VIP home page Giter VIP logo

Comments (4)

mhsmith avatar mhsmith commented on September 17, 2024

On Linux these files will be cached in $HOME/.cache/chaquopy.

from chaquopy.

thaidmfinnick avatar thaidmfinnick commented on September 17, 2024

Thanks for response!

Now, I can cache chaquopy folder, but how chaquopy know if I add new package. Does chaquopy have a file something like requirements.txt?
I want identify new packages and re-cached them.

from chaquopy.

mhsmith avatar mhsmith commented on September 17, 2024

Chaquopy can use a requirements.txt file as shown in the documentation, or you can list the packages directly in your build.gradle file. You could use either of those files to decide when to update your cache.

However, all of these packages are already coming from fast servers, so before you make this any more complex, I suggest you measure whether the cache really makes any difference.

from chaquopy.

thaidmfinnick avatar thaidmfinnick commented on September 17, 2024

I agree, seems the packages were loaded very fast. My cache is around 90MB, so it doesn't make too much difference.

I will close issue now. Thank you for your response and hope Chaquopy will grow more!

from chaquopy.

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.