rstacruz / flatdoc

Build sites fast from Markdown
http://ricostacruz.com/flatdoc
2.68k stars 263 forks source link

provide a "latest" tag #74

Closed jandob closed 8 years ago

jandob commented 8 years ago

Providing a "latest" tag would make it possible to link to https://cdn.rawgit.com/rstacruz/flatdoc/latest/flatdoc.js in the template. So new versions are used automatically.

rstacruz commented 8 years ago

that wouldn't work; cdn.rawgit.com will cache the file and it'll serve the same file even if it changes. if that's the use case you're after, there's rawgit.com (without cdn) and the gh-pages branch, but I wouldn't recommend that (rawgit says not to do it, and dynamically linking against the latest version might break things in the future).

jandob commented 8 years ago

Ok, i see i didn't now their caching was permanent. Thanks for the answer.