Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Purge jsDelivr main cache on update #1

Open
duffyjp opened this issue May 24, 2023 · 0 comments
Open

Purge jsDelivr main cache on update #1

duffyjp opened this issue May 24, 2023 · 0 comments

Comments

@duffyjp
Copy link
Owner

duffyjp commented May 24, 2023

https://www.jsdelivr.com/tools/purge

https://cdn.jsdelivr.net/gh/duffyjp/dentropize@main/dentropize.js

Note: You should probably use a specific version if you want to use jsDelivr as a CDN. I'd like to keep main up to date so I don't have to update the demo page with every release. jsDeliver only updates main weekly unless you request a purge.

What you should do:

<script type="module">
  import dentropize from "https://cdn.jsdelivr.net/gh/duffyjp/[email protected]/dentropize.js";

  document.addEventListener("DOMContentLoaded", function() {
    dentropize();
  });
</script>

Always pull latest main

<script type="module">
  import dentropize from "https://cdn.jsdelivr.net/gh/duffyjp/dentropize@main/dentropize.js";

  document.addEventListener("DOMContentLoaded", function() {
    dentropize();
  });
</script>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant