You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The repository contains a number of references to this idea:
It is recommended to always pull your Draco JavaScript and WASM decoders from this URL. Users will benefit from having the Draco decoder in cache as more sites start using the static URL.
While this was accurate when it was written, it isn't how browser caches have worked since about 2021. See:
Starting with v86, Chrome will be using combined cache keys, too... If your sites request the global jQuery, modules from unpkg.com, font files from Google fonts or GA's (Google Analytics) analytics.js, users will redownload the resources no matter if they downloaded and cached them for other sites already.
That being the case, it would be really nice if Draco were available from the npm package registry where web developers usually find dependencies. The Draco builds currently published there work only in Node.js, but the registry is designed to handle dependencies for web, Node.js, and other JavaScript runtimes. I think @bhouston's suggestions on this topic in #977 are excellent, and I'd be very glad to help make that happen.
The text was updated successfully, but these errors were encountered:
The repository contains a number of references to this idea:
While this was accurate when it was written, it isn't how browser caches have worked since about 2021. See:
https://www.stefanjudis.com/notes/say-goodbye-to-resource-caching-across-sites-and-domains/
That being the case, it would be really nice if Draco were available from the npm package registry where web developers usually find dependencies. The Draco builds currently published there work only in Node.js, but the registry is designed to handle dependencies for web, Node.js, and other JavaScript runtimes. I think @bhouston's suggestions on this topic in #977 are excellent, and I'd be very glad to help make that happen.
The text was updated successfully, but these errors were encountered: