Giter Club home page Giter Club logo

Comments (7)

jimaek avatar jimaek commented on August 17, 2024

We have the latest version http://www.jsdelivr.com/#!algoliasearch so its not a libgrabber problem.

For version aliasing to offer performance bonus we need to cache it for a certain amount of time, thats why its not instant after update. The cache should expire soon automatically.

And once we setup a purging API we can work more on that and make our bot to automatically purge the cache when a new version is added.

But we always were and will be recommending to use full versions in your URLs. Its the safest and fastest solution.

from libgrabber.

seafoox avatar seafoox commented on August 17, 2024

Thanks for details.
Can you tell me more about your caching policy, please: how long are resources behind aliases cached? When are you planing to have this purging API that could be used every time a new version is pushed?

Thanks,

from libgrabber.

jimaek avatar jimaek commented on August 17, 2024

In the next month I will try to have the purging API ready. Of course its going to be accessible only by our bots.

Right now the CDN caches static files for 12 months.
/g/ is cached for 6 months
2 from 2.0.3 is cached for 1 month
latest is cached for 2 weeks

from libgrabber.

seafoox avatar seafoox commented on August 17, 2024

Alright thanks for detail.
Looking forward to see this purging API live :-)

Cheers,
Alex

from libgrabber.

jimaek avatar jimaek commented on August 17, 2024

np, let me know if you have any questions or any other feedback

from libgrabber.

tomByrer avatar tomByrer commented on August 17, 2024

I assume 2.0 from 2.0.3 is cached for 1 month also?

from libgrabber.

jimaek avatar jimaek commented on August 17, 2024

yes, its the same thing

from libgrabber.

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.