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

Feature Request: /latest/ path on cdn.pannellum.org #1221

Open
Jamyn opened this issue Jun 23, 2024 · 1 comment
Open

Feature Request: /latest/ path on cdn.pannellum.org #1221

Jamyn opened this issue Jun 23, 2024 · 1 comment

Comments

@Jamyn
Copy link

Jamyn commented Jun 23, 2024

Would you consider adding a /latest/ path for the CDN and related scripts that is automatically linked to the latest build?

As an example:

<iframe width="600" height="400" allowfullscreen style="border-style:none;" src="https://cdn.pannellum.org/latest/pannellum.htm#panorama=https://pannellum.org/images/alma.jpg"></iframe>

I think this can already be done with the individual js on cdn.jsdelivr.net CDN (example), but not with pannellum.htm.

@Jamyn Jamyn changed the title Feature: /latest/ path for CDN Feature Request: /latest/ path on cdn.pannelum.org Jun 23, 2024
@Jamyn Jamyn changed the title Feature Request: /latest/ path on cdn.pannelum.org Feature Request: /latest/ path on cdn.pannellum.org Jun 23, 2024
@mpetroff
Copy link
Owner

mpetroff commented Jul 4, 2024

While it's a reasonable request in principle, I'm not sure I agree with it. Having a "latest" path means automatic upgrades for potentially breaking changes, which I'd rather not be responsible for.

I'd also really like to get out of CDN hosting in general, but none of the open-source-hosting CDNs will host HTML files. I changed the documentation to point at jsDelivr for the JS / CSS files five years ago, leaving only the standalone HTML version, but I still get ~7 million requests a month at pannellum.org, most of which are for the CDN.

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

2 participants