Giter Club home page Giter Club logo

Comments (6)

knsv avatar knsv commented on April 28, 2024

Thanks for pointing this out. Can see that this is still the old version. Working on automizing the release management to avoid these kind of problems.

from mermaid.

knsv avatar knsv commented on April 28, 2024

Turns out that the correct file was committed and tagged. The dev/testing url works:

https://rawgit.com/knsv/mermaid/master/dist/mermaid.full.min.js

but the production url has not been updated:
https://cdn.rawgit.com/knsv/mermaid/master/dist/mermaid.full.min.js

must be some issue with cdn service.

from mermaid.

ericdorsey avatar ericdorsey commented on April 28, 2024

Thanks for looking into this. Mermaid is really cool!

From https://rawgit.com/faq

Requests to cdn.rawgit.com are routed through MaxCDN's super fast content delivery network, and are cached permanently the first time they're loaded. This results in the best performance and reduces load on RawGit and on GitHub, but it means that reloading won't fetch new changes from GitHub.

Does this mean that if you're using RawGit, you can only use one specific GitHub URL once for the CDN version because it won't ever update after that? Does this mean the owner of the GitHub repo have to use a new folder structure / Github URL every time they want to update the production URL on RawGit?

from mermaid.

knsv avatar knsv commented on April 28, 2024

I surely hope not. They do have a disclaimer on the rawgit page:

The catch: this is a free service, so there are no uptime or support guarantees.

Lets check after next commit and see if it gets updated.

This link based on the tag seems updated though:
https://cdn.rawgit.com/knsv/mermaid/0.2.14/dist/mermaid.full.min.js

Another advantage with that is that it will not point to unrelased stuff.

from mermaid.

knsv avatar knsv commented on April 28, 2024

Closing this one. Re-open if you disagree.

from mermaid.

ericdorsey avatar ericdorsey commented on April 28, 2024

Not at all. Thanks for looking into it.

from mermaid.

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.