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

Minimal set for CDN #40

Open
Utopiah opened this issue Nov 15, 2023 · 0 comments
Open

Minimal set for CDN #40

Utopiah opened this issue Nov 15, 2023 · 0 comments

Comments

@Utopiah
Copy link

Utopiah commented Nov 15, 2023

Thanks to aframevr/aframe#5333 now in 1.5.0 it's possible to define the CDN that can thus be local, thus follow aframevr/aframe#5119 .

It's possible to clone this repository and point to the hosted version but this repository is huge (>500Mo). Briefly skimmed through it seems most of it (e.g .git itself, .blend model source, etc) aren't actually needed.

Few paths to consider, from easiest to more demanding

  1. updating README.md with required directories, e.g ./fonts and ./controllers I imagine, clarifying which files can removed to trim down to lowest size
  2. provide a "build" with the minimum, e.g a .zip generated from a script like tar -cvf minglb.tar fonts/ $( find controllers/ -type f -name "*.glb" )
  3. changing the structure to have a dedicated directory with only necessary content, e.g ./required/ with ./required/fonts and ./required/controllers and keeping there only used files, e.g .glb but not .blend
  4. splitting in 2 repositories
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